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
myappusing the imagemyapp:1.0and listening onlocalhost:8080.
Level: Advanced
Estimated duration: 30min
Access: Pro plan required
Tags: Docker