Docker registry garbage collect docker
Free disk space in a self-hosted Docker Registry
docker exec -it registry bin/registry garbage-collect /etc/docker/registry/config.yml
more docker
all 46 commands →
Multi-stage build target
docker build --target builder -t img:builder .
Build with build args
docker build --build-arg APP_VERSION=1.2.3 --build-arg ENV=prod -t myapp:1.2.3 .
Multi-platform build
docker buildx build --platform linux/amd64,linux/arm64 -t myapp:latest --push .
Inspect image layers
docker history --no-trunc <image>
Export container filesystem
docker export <container> | tar -tvf - | head -30