Practice this fail.
Which side of the colon?
Docker · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
The running web container publishes its internal TCP port 80. Inspect the host address and port mapped to that container port.
Which side of the colon?
$ docker ps
web Up 5 minutes
How do you inspect web’s published mapping for port 80/tcp?
Fixed. By hand.
docker port web 80/tcpdocker port reports published mappings. The input is the container-side port; the output tells you which host address and port forward to it.
Practice does not affect your daily score or streak.