K
K
Kirill Gorelov2022-01-17 13:44:37
macOS
Kirill Gorelov, 2022-01-17 13:44:37

Kill docker container on macos?

What situation.

On macos:
There is a container, when we stop it, it hangs.
doker stop 99c16b70b018

There is exactly such a container but on ubuntu.
There with stopped the container with another command

sudo systemctl restart docker.socket docker.service && docker rm -f c4b502e88fd1


And it worked.
Naturally, this did not help on macos, the error "sudo: systemctl: command not found" The

question is how to do it on a poppy ... All the answers in Google only boil down to doker stop ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question