Challenge - 5 Problems
Docker Installation Verified
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate1:30remaining
What is the output of
docker run hello-world on a fresh Docker install?You just installed Docker and ran
docker run hello-world. What output should you expect to confirm Docker is working correctly?Docker
docker run hello-worldAttempts:
2 left
💡 Hint
Think about what a successful Docker container run would print to confirm installation.
✗ Incorrect
The 'hello-world' image prints a friendly message starting with 'Hello from Docker!' to confirm Docker is installed and running properly.
❓ Troubleshoot
intermediate1:30remaining
Which error indicates Docker daemon is not running when running
docker run hello-world?You run
docker run hello-world but get an error. Which error message means the Docker daemon is not running?Docker
docker run hello-worldAttempts:
2 left
💡 Hint
Look for the message about connecting to the Docker daemon.
✗ Incorrect
The error about not connecting to the Docker daemon means the Docker service is not running or accessible.
✅ Best Practice
advanced1:30remaining
What is the best practice to verify Docker installation on a new machine?
After installing Docker, which step is the best practice to verify the installation?
Attempts:
2 left
💡 Hint
Think about a simple command that confirms Docker can run containers.
✗ Incorrect
Running 'docker run hello-world' is the simplest way to confirm Docker is installed, the daemon is running, and containers can be pulled and executed.
🧠 Conceptual
advanced1:30remaining
Why does
docker run hello-world download an image on first run?When you run
docker run hello-world for the first time, Docker downloads the image. Why does this happen?Attempts:
2 left
💡 Hint
Think about how Docker handles images it does not have on your computer.
✗ Incorrect
Docker pulls images from a registry only if they are not found locally to run containers.
🔀 Workflow
expert2:30remaining
What is the correct sequence of steps when verifying Docker installation using
docker run hello-world?Put these steps in the correct order to verify Docker installation using the 'hello-world' image.
Attempts:
2 left
💡 Hint
Think about what must be ready before running the command and what happens during execution.
✗ Incorrect
First, Docker daemon must be running (3). Then you run the command (1). If image missing, Docker pulls it (4). Finally, you check the output (2).