Created
March 19, 2019 15:59
-
-
Save hsaputra/afcabb8b5f38654a976fb05e82716c73 to your computer and use it in GitHub Desktop.
Docker - generate a list of container ID from the docker ps command
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
# generate a list of container ID from the docker ps command | |
!docker ps -a | awk '{print $1}' | tail -n +2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment