Last active
June 29, 2022 19:43
-
-
Save Nolwennig/57156f68d2aab1931e863a029cbf5dc0 to your computer and use it in GitHub Desktop.
Docker ps: - run: 0 --all: 32 --lastest: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
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
echo 'docker ps:'; | |
echo '- run:' $((`docker ps | wc -l` -1)); | |
echo '--all:' $((`docker ps -a | wc -l` -1)); | |
echo '--lastest:' ;\docker ps -l; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment