Paths/DevOps Engineer/Networking / HTTP & curl
Prove a Service Answers HTTP 200
Deploy the app image on port 8080 and then prove — with curl, not faith — that it answers HTTP 200. This combines Docker and networking; the validator makes a real request against the port.
Validator
IDLE — checks run live as you type commands; submit when done
01Requirements
live checks- A container from app:latest is running○
- Port 8080 is mapped○
- curl against localhost:8080 returns HTTP 200○
02Walkthrough
1 of 5 revealed- 01
Start the container on port 8080
docker run -d -p 8080:80 app:latest starts the app detached and forwards host port 8080 to the container's port 80.
docker run -d -p 8080:80 app:latest - 4 locked · each failed submit reveals one
03Stuck?
0 of 3 revealedTake a hint without losing the lab — each one points at the thing to look at, not at the answer.
04AI Tutor
guides, never solvesTell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?
04Notebook
saved locally in this browserlearner@lab — ubuntu:24.04 + docker
Session is disposable
↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list