Nginx Docker build
Build the nginx docker image (make sure you are not in this repo directory)
docker build [-t <group>/<repo>[:tag]] <repo_directory>
Run nginx exposing port 80 as 8080 on your local system
docker run -d -p 8080:80 aviata/nginx
Run nginx mounting a local directory as the web content
docker run -d -p 8080:80 -v $HOME/web_content:/usr/share/nginx/http aviata/nginx
Content type
Image
Digest
sha256:a3288e158…
Size
174.9 MB
Last updated
almost 11 years ago
docker pull aviata/nginx