Last active
March 25, 2018 13:01
-
-
Save unk/7858da3d5fb7f8046c56d112b3eb452f 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 run -i -t \ | |
-p 8888:80 \ | |
-v /project/docker:/var/www/example.com/public_html \ | |
--name lamp linode/lamp | |
# -p: 호스트의 8888 포트와 컨테이너의 80 포트를 연결합니다. | |
# -v: 호스트의 /project/docker 를 컨테이너의 /var/www/example.com/public_html 에 연결합니다. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment