A
A
Anton Shvets2016-08-12 15:26:44
Docker
Anton Shvets, 2016-08-12 15:26:44

How to kill a container in eternal restarting?

postgress has been covered, its container is now hanging
docker kill
docker rm -f
does not help.
upd.
Restarting service docker restart helped, but maybe there is another way

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
MintTea, 2016-08-14
@Xuxicheta

To avoid repetition, restart policy should be set to unless-stopped or on-failure. Wangyu that you always had.

I
Ilya, 2016-08-14
@FireGM

docker stop $(docker ps -a -q)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question