Where to start First steps track · 15 stages
Linux Labs

Containers: Docker and compose

Quiz: a container from the inside

Question 5 of 10
Leave the quiz

Read the output

nginx in the container listens on port 80. What will curl print?

$ sudo docker run -d --name wrong -p 8081:8080 nginx:alpine
$ curl http://localhost:8081/
Back A–D or ↵ Sign in to answer
Loading…