Last active
August 14, 2018 20:25
-
-
Save coderdiaz/7aa1e3f89e519540507e6b10fae23261 to your computer and use it in GitHub Desktop.
Docker Commands
This file contains hidden or 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
# Start all dockers based on Id. | |
$ docker ps -a --format="{{.ID}}" | xargs docker [option](start | stop) | |
# Remove all docker containers | |
$ docker ps -a --format="{{.ID}}" | xargs docker rm -f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment