-
[nginx][Docker] nginx 웹서버 설치하기Linux/Tools 2024. 8. 8. 15:50
https://hub.docker.com/_/nginx/
nginx - Official Image | Docker Hub
Quick reference Supported tags and respective Dockerfile links 1.27.0, mainline, 1, 1.27, latest, 1.27.0-bookworm, mainline-bookworm, 1-bookworm, 1.27-bookworm, bookworm1.27.0-perl, mainline-perl, 1-perl, 1.27-perl, perl, 1.27.0-bookworm-perl, mainline-
hub.docker.com
1. 이미지 가져오기
docker pull nginx
2. 컨테이너 실행하기
$ docker run --name some-nginx -v /some/content:/usr/share/nginx/html:ro -d nginx