Created
March 25, 2018 12:38
-
-
Save unk/a054d538da57755938e40d61a0e8e363 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 [OPTION] image-name | |
docker run -i -t --name ubuntu-container ubuntu | |
# -i: 인터렉티브 interactive 옵션. 표준 입력 STDIN 을 유지하며 호스트와 통신을 유지합니다. | |
# -t: pseudo-tty 옵션. 호스트에서 터미널을 이용해 컨테이너와 통신하려면 필수적인 옵션입니다. | |
# --name: 컨테이너 이름. 이번의 경우엔 ubuntu-container | |
# ubuntu 도커 이미지 이름. 이번의 경우엔 ubuntu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment