Created
March 25, 2018 12:46
-
-
Save unk/d558d4bbffdaa81beadae4b711ac729d to your computer and use it in GitHub Desktop.
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
docker ps | |
# 실행중인 컨테이너 목록이 다음과 같이 나옵니다. | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
ecc4804eabf7 ubuntu "/bin/bash" 57 seconds ago Up 59 seconds docker-container | |
# 실행중인 목록이 없을 경우 컨테이너가 정지되어 있는 겁니다. | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
------ | |
docker ps -a | |
# -a 옵션을 이용해 정지된 컨테이너까지 모두 표시합니다. | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
ecc4804eabf7 ubuntu "/bin/bash" 4 minutes ago Exited (0) 3 minutes ago docker-container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment