Learn docker
Short lessons written around the screening tests employers use. Read one, then take the test.
Writing a Dockerfile: instructions and layer cachingWhat FROM, WORKDIR, COPY, RUN, CMD and ENTRYPOINT do, and how ordering steps well makes builds fast.Lesson 1
Running containers: ports, volumes and Docker ComposePublish ports, keep data with volumes, connect services in Compose, and push images to a registry.Lesson 2
Container lifecycle commands and debugging a container that will not stay upBuild, run, inspect, enter and clean up containers, and read exit codes and logs to explain why a container stopped.Lesson 3
Smaller, safer images: multi-stage builds, non-root users and health checksCut image size with multi-stage builds and .dockerignore, run as a non-root user, pin versions and add a HEALTHCHECK.Lesson 4
Advertisement