Open NeroCube opened 3 years ago
This command will ensure all currently running containers will be restarted unless stopped.
$ docker update --restart unless-stopped $(docker ps -q)
How to stop auto-restart docker container
docker update --restart=no my-container
This command will ensure all currently running containers will be restarted unless stopped.
How to stop auto-restart docker container