Last active
August 20, 2018 05:11
-
-
Save mvsde/efe03cfcb3723c5a8020d4c825a9477d to your computer and use it in GitHub Desktop.
Stop Docker auto restart on all containers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: | |
# https://github.com/moby/moby/issues/10032#issuecomment-310023443 | |
docker stop $(docker ps -a -q) & docker update --restart=no $(docker ps -a -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment