Courses
Docker for Beginners: Run an App Without Fighting the Host
Final Check: Docker for Beginners
Fifteen scenario questions across the whole course. If you get twelve or more right, you can install Docker, run and debug containers, keep data and start a small stack from one file.
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.
A coworker says containers are just virtual machines that boot faster. What is the most accurate response?
Containers are isolated processes that share the host's Linux kernel, so they start quickly and need no operating system each.
That is right. Each container carries its own kernel.
A container is a program that runs without any isolation.
Containers need a hypervisor on every machine, like virtual machines.
2.
What is the difference between an image and a container?
3.
After installing Docker Desktop, you open a PowerShell window that was already open and docker is not recognised. What is the simplest fix?
4.
What does docker run --name web -d -p 8080:80 nginx:1.30-alpine do?
5.
You want to read why a container exited a minute ago. Which command do you use?
6.
What is docker exec -it hello-web sh for?
7.
You copied a changed file into a running container with docker cp. When does the change disappear?
8.
In which order does Docker reuse layers when you rebuild an image?
9.
Which line in a Dockerfile makes a published port reachable from your browser?
10.
What is the safest way to keep a database's files when its container is removed?
11.
Containers named db and web are on the default bridge network. web cannot reach http://db. What is the best long-term fix?
12.
In a Compose file the web service uses the URL http://quotes/quote.txt. Where does the name quotes come from?
13.
You want to remove one project's containers and network, and nothing else. What do you run?
14.
A container is listed as Exited (137). What is a reasonable first check?
15.
A tutorial says docker run nginx. This course writes nginx:1.30-alpine instead. Why?
About
Fifteen scenario questions across the whole course. If you get twelve or more right, you can install Docker, run and debug containers, keep data and start a small stack from one file.
- Duration
- 15 min
- Last update
- 08/01/2026
Was this helpful?
0
0
Comments (0)
Sign in to commentNo comments yet.