Scenario #21

Name: The inherited Docker image

Description:

After a sudden reorganization, your team has just inherited a legacy Docker image with no handover or documentation. The container starts when you run the image, but no ports are exposed, and the logs are unhelpful. Right now, the application running inside the container is completely inaccessible. Find on which port the application is listening and expose it.

Tasks:

  • Run a Docker container named myapp using the image myapp:1.0 and listening on localhost:8080 .

Level: Advanced

Estimated duration: 30min

Access: Pro plan required

Tags: Docker

Scenarios