MindForgeDemo
DashboardCoursesLabsQuizSheets
Exit demo
MindForgeDemo
Debug labVS Code labDocker lab

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.
labuser@lab:~$

Tasks check off automatically as you run commands.

Demo mode · Nothing you do here is saved

Log inCreate free account
DashboardCoursesLabsQuizSheets