Learn Everything

Paths/DevOps Engineer/Networking / HTTP & curl

Challengeintermediateubuntu:24.04 + dockerAsk AI

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

⏱ 0:00

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
  1. 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
  2. 4 locked · each failed submit reveals one

03Stuck?

0 of 3 revealed

Take a hint without losing the lab — each one points at the thing to look at, not at the answer.

04AI Tutor

guides, never solves

Tell me what you're stuck on — I'll nudge, not solve. Which requirement are you looking at?

04Notebook

saved locally in this browser

learner@lab — ubuntu:24.04 + docker

↑/↓ recalls commands · Ctrl+Enter submits · type help for the command list