Docker Intermediate: Images and Compose That Survive Real Projects
Dockerfiles that don't rot, volumes and networks you can explain, and Compose files other people can run. You will shrink a build context, fix permission errors, wire services together with health checks and push an image to a registry. If you skip the checks on ports, secrets and tags, the project runs on your laptop and breaks on the next machine.
Course access
-
Dockerfiles That Don't Rot (empty)3Lessons · 20 min
-
.dockerignore and What Belongs in the Build Context
See what the builder receives, what ends up in the image and how a .dockerignore file controls both. After this, you can keep secrets, .git folders and large files out of your images and out of your build time.
5 min -
ENTRYPOINT, CMD and When to Override Them
Run the same small image with CMD, with ENTRYPOINT, in exec form and in shell form, and see which one receives the stop signal. After this, you can read any Dockerfile ending and know what runs, what you can replace and why a container will not stop.
10 min -
-
-
Data That Outlives Containers (empty)3Lessons · 15 min
-
Bind Mounts vs Named Volumes: Which One When
Compare the two on what is inside at the start, where the files live, speed on Windows and backups, with commands you can run. After this, you can choose a mount type for a project and back up a volume.
5 min -
Permissions, Ownership and Why the Container Can't Write
Reproduce the Permission denied error on a volume and a bind mount, read the owner numbers and fix it two ways. After this, you can tell a read-only mount from an ownership problem and fix the right one.
5 min -
-
-
Networks Beyond Defaults (empty)3Lessons · 15 min
-
Bridge Networks, Aliases and DNS
See why the default bridge has no names, how a network you create adds a DNS server and how aliases give one name to several containers. After this, you can read a container connection error and tell which side is wrong.
5 min -
Publish Ports Without Exposing Everything
See who can reach a published port, bind it to 127.0.0.1, and keep databases off your network by not publishing them. After this, you can publish only what has to be reachable.
5 min -
-
-
Compose for Real Apps (empty)3Lessons · 20 min
-
Services, depends_on and Healthchecks
Show why depends_on alone does not wait for readiness, add a health check, and wait for a job to finish. After this, you can start a stack in the right order and make a failed dependency stop it loudly.
10 min -
Environment Files, Secrets and What Not to Commit
Separate .env, env_file and environment, see what docker inspect reveals, and use Compose secrets and build secrets. After this, you can keep real secrets out of images, Git and logs.
5 min -
-
-
Images Across Machines (empty)3Lessons · 15 min
-
Tag Images So You Can Find Them Later
Build one image under several tags, release a new version and roll back to the old one. After this, you can name images so a rollback is one command.
5 min -
Push and Pull From a Registry Without Surprises
Run a registry in a container, push and pull an image, read the common errors and learn what the Docker Hub steps look like. After this, you can move an image to another machine and pull it back by tag or by digest.
5 min -
-
-
Final Check: Docker Intermediate (empty)1Lessons · 15 min
-
About
Dockerfiles that don't rot, volumes and networks you can explain, and Compose files other people can run. You will shrink a build context, fix permission errors, wire services together with health checks and push an image to a registry. If you skip the checks on ports, secrets and tags, the project runs on your laptop and breaks on the next machine.
- Responsible
- Jay P
- Last Update
- 08/10/2026
- Completion Time
- 1 h 40 min
- Members
- 1
Reviews
Sign in to write a reviewComments
Sign in to commentNo comments yet.