Docker for Beginners: Run an App Without Fighting the Host
This course is for developers who need to run local databases, background workers, and web apps in Docker without turning every project setup into a host configuration battle. You start by verifying Docker Desktop and WSL2 or Linux engine settings, reading image tags and digests accurately, and seeing what actually happens between an image layer and a running container.
You then practice port publishing, environment configuration, container log inspection, named volumes versus bind mounts so database rows survive container restarts, and custom bridge networks so containers talk by service name. The final section brings those pieces together in a clean compose.yaml file that starts, stops, and resets a multi-container app predictably.
Course access
-
Before You Run Anything (empty)3Lessons · 15 min
-
What Docker Is and Why Containers Exist
What an image, a container and the Docker engine are, how a container differs from a virtual machine and why a container starts clean every time. After this, you can say what docker run does before you type it.
5 min -
Install Docker Desktop on Windows With WSL2
Check your computer, install Docker Desktop with the WSL 2 backend, and prove that the program, the engine and a real container all work. After this, you have a working Docker and know what to check when it does not start.
5 min -
-
-
Your First Containers (empty)3Lessons · 15 min
-
Run, Stop and Remove a Container
Start a web server in the background, publish a port, then stop, start and remove it, and see why a container lives only as long as its main command. After this, you can run and tidy up a container without leaving anything behind.
5 min -
Logs, Exec and Copying Files In and Out
Read the log of a running or failed container, run a command inside it and move files across with docker cp. After this, you can find out what went wrong inside a container without guessing.
5 min -
-
-
Images (empty)3Lessons · 15 min
-
Pull an Image and See What Layers Are
Pull images, read their names, tags and sizes, and see how layers are stacked and shared. After this, you can read an image name and say why a second download is smaller than the first.
5 min -
Build a Small Image With a Dockerfile
Write a Dockerfile for a small Python app, build it, run it and change it, and see which steps Docker reuses. After this, you can package your own app into an image.
5 min -
-
-
Data and Networks (empty)3Lessons · 15 min
-
Volumes: Keep Data When a Container Dies
Show that a container's files vanish with it, then keep data in a named volume and a bind mount. After this, you can choose where a container's data lives and not lose it by accident.
5 min -
Networks: Let Two Containers Talk by Name
Publish a port, create a user-defined network and let one container reach another by its name. After this, you can fix the usual connection errors between containers.
5 min -
-
-
More Than One Service (empty)4Lessons · 20 min
-
Docker Compose: Two Services With One File
Describe a web app and the service it calls in one compose.yaml, start both with one command and read the result. After this, you can start, check and stop a small stack from a file.
5 min -
Clean Up: Images, Containers and Disk Space
See what Docker keeps on your disk, remove what you no longer need and learn which prune commands to avoid. After this, you can free disk space without deleting something you wanted.
5 min -
When Something Won't Start
A short checklist and the real error for the failures you will meet most often: Docker not running, a container that exits at once, a missing command and a wrong image tag. After this, you can read the message and fix the cause.
5 min -
-
-
Final Check: Docker for Beginners (empty)1Lessons · 15 min
-
About
This course is for developers who need to run local databases, background workers, and web apps in Docker without turning every project setup into a host configuration battle. You start by verifying Docker Desktop and WSL2 or Linux engine settings, reading image tags and digests accurately, and seeing what actually happens between an image layer and a running container.
You then practice port publishing, environment configuration, container log inspection, named volumes versus bind mounts so database rows survive container restarts, and custom bridge networks so containers talk by service name. The final section brings those pieces together in a clean compose.yaml file that starts, stops, and resets a multi-container app predictably.
- Responsible
- John G
- Last Update
- 08/05/2026
- Completion Time
- 1 h 35 min
- Members
- 1
Reviews
Sign in to write a reviewComments
Sign in to commentNo comments yet.