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 designed to help you hone your DevOps or Server Side skills. Some challenges are more educational, while others are based on real-world scenarios. The platform provides hints and feedback for each challenge, including 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.
Learn how to keep your container images lean by excluding development dependencies (linters, test frameworks, etc.) from the production build.
Practice installing OS-level packages during a Docker image build to satisfy system library requirements of your application.
Learn the absolute basics of Dockerfile authoring by containerizing a simplistic Node.js server application with just three instructions: FROM, COPY, and CMD.
Learn how to write a Dockerfile from scratch and build a working container image for a web server application with a simple set of dependencies.
Learn how to properly stop a Docker container whose application needs more than the default 10 seconds to shut down gracefully.