Last active
January 27, 2020 10:09
-
-
Save jorgeas80/386ad50f7d3ccfe07d8fd5eb24af85de to your computer and use it in GitHub Desktop.
Get running docker containers
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
# Get docker container names | |
docker ps --format "{{.Names}}" | |
# Stop all running containers | |
docker stop $(docker ps -aq) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment