강의

멘토링

로드맵

Inflearn Community Q&A

brilliantjayoh8746's profile image
brilliantjayoh8746

asked

Essential for using Docker! Docker Compose

Advantage 1 of Docker Compose - It can replace complex Docker commands

docker run -it -p 8080:80 --rm -v /home/nayuoh/docker-compose/:/usr/share/nginx/html/ nginx

Resolved

Written on

·

63

·

Edited

0

이렇게 해도 index.html 내용이 바뀌지 않아요

docker

Answer 1

0

alankim님의 프로필 이미지
alankim
Instructor

안녕하세요. index.html 파일의 위치가 /home/nayuoh/docker-compose/index.html 맞을까요?

 

docker 컨테이너 실행 후 브라우저에서 127.0.0.1:8080/index.html 을 열었을 때,

docker 로그가 출력될 텐데요.

이 로그를 복사해서 댓글에 붙여넣어 주시면 좀더 정확한 답을 드릴 수 있겠어요. 🙂

brilliantjayoh8746's profile image
brilliantjayoh8746

asked

Ask a question