Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@unk
Last active March 25, 2018 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unk/7858da3d5fb7f8046c56d112b3eb452f to your computer and use it in GitHub Desktop.
Save unk/7858da3d5fb7f8046c56d112b3eb452f to your computer and use it in GitHub Desktop.
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