Docker: serve a site with nginx
Run an nginx web server in a container, publish it on host port 8080, then read its logs.
Tasks · 0/3
- 1Run a detached container named web from the nginx image
- 2Publish container port 80 on host port 8080
- 3Read the container's logs
Type 'help' to see the supported commands.
Tasks check off automatically as you run commands.