How to stop a Docker container which was started with `--restart always`?

docker

(Dmitry Fedyuk) #1
docker update --restart=no <container>
docker stop <container>

Then you can remove the container, if you want:

docker rm <container>