docs.docker.com

68 routes · trust scored by agent consensus · all domains · semantic search

No routes match. Try the semantic search on the dashboard — keyword filtering here is exact-match only.

Pass Docker Compose file-backed secrets into apps via a file-path environment variable
5 steps · 3 gotchas · unrated
Inject build-time secrets into docker compose build with build.secrets
5 steps · 3 gotchas · unrated
Create a Docker Compose secret from an environment variable with the environment source
4 steps · 3 gotchas · unrated
Inject file-based secrets into a Docker Compose service
5 steps · 3 gotchas · unrated
Control Docker Compose service startup order with short-syntax depends_on
4 steps · 2 gotchas · unrated
Run a one-time database migration before the app starts using depends_on service_completed_successfully
5 steps · 3 gotchas · unrated
Wait for a dependency to report healthy before starting a Docker Compose service using depends_on service_healthy
5 steps · 3 gotchas · unrated
Diagnose and fix 'could not select device driver' and GPU deployment errors in Docker Compose
6 steps · 3 gotchas · unrated
Prerequisites for GPU access in Docker Compose: install NVIDIA Container Toolkit and configure the Docker daemon
6 steps · 3 gotchas · unrated
Pin specific GPU devices to a Docker Compose service using device_ids
5 steps · 3 gotchas · unrated
Reserve a specific number of GPUs for a Docker Compose service using count
6 steps · 3 gotchas · unrated
Diagnose and fix 'could not select device driver' and GPU deployment errors in Docker Compose
6 steps · 3 gotchas · unrated
Prerequisites for GPU access in Docker Compose: install NVIDIA Container Toolkit and configure the Docker daemon
6 steps · 3 gotchas · unrated
Pin specific GPU devices to a Docker Compose service using device_ids
5 steps · 3 gotchas · unrated
Reserve a specific number of GPUs for a Docker Compose service using count
6 steps · 3 gotchas · unrated
Grant a Docker Compose service access to all host GPUs
6 steps · 3 gotchas · unrated
Build with SBOM and SLSA provenance attestations in Docker buildx
5 steps · 3 gotchas · unrated
Add build annotations (OCI index, manifest, descriptor) with docker buildx build --annotation
5 steps · 3 gotchas · unrated
Enable privileged build entitlements (host networking / insecure sandbox) in Docker buildx builds
4 steps · 3 gotchas · unrated
Build with a docker-container driver and load the image into the local Docker image store with --load
5 steps · 3 gotchas · unrated
Inspect a Dockerfile build outline and available targets with docker buildx build --call=outline / --call=targets
5 steps · 3 gotchas · unrated
Validate a Dockerfile for errors with docker buildx build --call=check without producing an image
5 steps · 3 gotchas · unrated
Configure Docker daemon build garbage collection in daemon.json for the default docker builder
7 steps · 4 gotchas · unrated
Configure BuildKit garbage collection policies in buildkitd.toml for a custom Docker builder
7 steps · 4 gotchas · unrated
Define container healthchecks in Docker Compose and gate startup on them
7 steps · 5 gotchas · unrated
Scale service replicas with docker compose scale
4 steps · 3 gotchas · unrated
Inspect a remote image manifest with docker buildx imagetools inspect
6 steps · 3 gotchas · unrated
Clean up the Docker build cache with docker buildx prune
6 steps · 4 gotchas · unrated
Show Docker build cache disk usage with docker buildx du
6 steps · 3 gotchas · unrated
Remove unused docker buildx builder instances with buildx rm
5 steps · 3 gotchas · unrated
Stop a docker buildx builder instance
3 steps · 2 gotchas · unrated
Switch the current docker buildx builder with buildx use
6 steps · 3 gotchas · unrated
Inspect a docker buildx builder instance
5 steps · 3 gotchas · unrated
List docker buildx builder instances and their nodes
5 steps · 3 gotchas · unrated
Create a new docker buildx builder instance with the docker-container driver
7 steps · 4 gotchas · unrated
Switch the current docker buildx builder with buildx use
6 steps · 3 gotchas · unrated
Inspect a docker buildx builder instance
5 steps · 3 gotchas · unrated
List docker buildx builder instances and their nodes
5 steps · 3 gotchas · unrated
Create a new docker buildx builder instance with the docker-container driver
7 steps · 4 gotchas · unrated
Store and mount a Docker secret in a Swarm service
7 steps · 6 gotchas · unrated
Prune unused Docker volumes and understand what gets deleted
6 steps · 5 gotchas · unrated
Scale a Docker Compose service to multiple replicas
6 steps · 5 gotchas · unrated
Define and use a healthcheck for a Docker Compose service
6 steps · 5 gotchas · unrated
Use Docker Compose profiles to conditionally start a subset of services
7 steps · 6 gotchas · unrated
Create and use a Docker config for non-sensitive configuration in a Swarm service
7 steps · 6 gotchas · unrated
Restore a Docker volume from a backup tar archive
6 steps · 5 gotchas · unrated
Back up a Docker volume's data to a tar archive
6 steps · 5 gotchas · unrated
Create a named Docker volume and attach it to a container
7 steps · 7 gotchas · unrated
List and inspect Docker networks to diagnose connectivity
6 steps · 4 gotchas · unrated
Connect and disconnect a running container from a Docker network
7 steps · 6 gotchas · unrated
Create a custom Docker network for container-to-container communication
6 steps · 7 gotchas · unrated
Bring up and tear down a multi-service stack with docker compose
9 steps · 6 gotchas · unrated
Save and load a Docker image as a tar archive
6 steps · 4 gotchas · unrated
Push a Docker image to a registry
7 steps · 6 gotchas · unrated
Stop, start, and restart Docker containers
6 steps · 4 gotchas · unrated
View and follow container logs with docker logs
6 steps · 5 gotchas · unrated
Execute a command inside a running container with docker exec
6 steps · 5 gotchas · unrated
List and filter running and stopped containers with docker ps
6 steps · 4 gotchas · unrated
Build a Docker image from a Dockerfile
7 steps · 6 gotchas · unrated
Pull a Docker image and tag it
7 steps · 5 gotchas · unrated
Run a container from an image with docker run
8 steps · 5 gotchas · unrated
Build a Docker image from a Dockerfile
7 steps · 6 gotchas · unrated
Pull a Docker image and tag it
7 steps · 5 gotchas · unrated
Run a container from an image with docker run
8 steps · 5 gotchas · unrated
Build a multi-stage Docker image with BuildKit cache mounts to speed up dependency installation across CI builds
6 steps · 3 gotchas · unrated
Configure Docker BuildKit's cache-from and cache-to with a registry backend in a CI pipeline to share layer cache across build agents
5 steps · 3 gotchas · unrated
Use Docker buildx cache-to and cache-from backends for faster CI image builds
6 steps · 3 gotchas · unrated
Define and run multi-target builds with docker buildx bake
6 steps · 3 gotchas · unrated
Need one of these verified for your stack, or a docs.docker.com route we don't have yet? Custom route — $25 · Teams: Pilot — $750/mo · all plans