Courses
Docker for Beginners: Run an App Without Fighting the Host
Check Yourself: More Than One Service
Five scenario questions on Compose, cleanup and troubleshooting. If you miss more than one, reread the lessons in this section.
Course content
Join this Course
Sign in to save your progress.
-
Before You Run Anything
-
What Docker Is and Why Containers Exist
-
Install Docker Desktop on Windows With WSL2
-
-
-
Your First Containers
-
Run, Stop and Remove a Container
-
Logs, Exec and Copying Files In and Out
-
-
-
Images
-
Pull an Image and See What Layers Are
-
Build a Small Image With a Dockerfile
-
-
-
Data and Networks
-
Volumes: Keep Data When a Container Dies
-
Networks: Let Two Containers Talk by Name
-
-
-
More Than One Service
-
Docker Compose: Two Services With One File
-
Clean Up: Images, Containers and Disk Space
-
When Something Won't Start
-
-
- Final Check: Docker for Beginners
1.
In a Compose file, the web service needs to reach a service named quotes. What host name does web use?
2.
You changed app.py and ran docker compose up -d, but the old behaviour is still there. What do you try?
3.
You added depends_on: - quotes to web. What does it guarantee?
4.
Before running docker system prune, which is the best practice?
5.
A container exits at once with code 127 and the log says the executable was not found. What is the most likely cause?
About
Five scenario questions on Compose, cleanup and troubleshooting. If you miss more than one, reread the lessons in this section.
- Duration
- 5 min
- Last update
- 08/05/2026
Was this helpful?
0
0
Comments (0)
Sign in to commentNo comments yet.