Build and Inspect a Container Image With Docker
Build a container image from a Dockerfile and use Docker commands to inspect its size and layer composition.
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.
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.
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 configure a Docker host and its containers to automatically restart when the server reboots or the Docker daemon restarts.
Unlike Docker, Podman is daemonless and requires some extra systemd help to monitor and restart containers. Learn how to configure a Podman host and its containers to automatically restart after a server reboot.
Explore the key container management operations by walking through all the phases of the container lifecycle - from creation to termination and removal.
Practice pausing and resuming a running container: start a resource-hungry container, pause it, inspect its state, and then unpause it back to life.