Docker 101: Authenticate to Private Container Registries
Practice using docker login to authenticate against multiple private container registries with different credentials, then pull and push images across them.
Focused, hands-on problems for sharpening your DevOps and server-side skills. Some teach specific concepts while others mirror real-world scenarios. Every challenge includes hints, feedback, and automated solution checks.
Practice using docker login to authenticate against multiple private container registries with different credentials, then pull and push images across them.
Re-tag local container images with fully-qualified references and publish them to different registries using the 'docker tag' and 'docker push' commands.
Pull a container image built for a non-native CPU architecture using the 'docker pull --platform' flag.
Practice pulling a container image using an immutable digest reference instead of a mutable tag.
Pull container images using the 'docker pull' command and explore how the image name determines its source registry and repository.
Write a Dockerfile for a simple CLI tool and learn how to use the ENTRYPOINT instruction to improve the user experience of containerized command-line applications.
Write a Dockerfile for a simple web service and learn how Docker images can improve the application startup UX by defining sensible runtime defaults using ENV, USER, and STOPSIGNAL instructions.
Build a container image from a Dockerfile and use Docker commands to inspect its size and layer composition.
Practice building and compiling applications inside their Dockerfiles by containerizing a Go backend and a TypeScript frontend.
Learn how to keep your container images lean by excluding development dependencies (linters, test frameworks, etc.) from the production build.