Skip to content

Instantly share code, notes, and snippets.

@unk
Last active Mar 25, 2018
Embed
What would you like to do?
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