Repository navigation
Compose
pocker compose reads Compose files directly. It does not shell out to the
Docker CLI or Docker Compose CLI.
Inspect the resolved pocker pull model:
pocker compose config --format json
pocker compose config --images
pocker compose config --services
pocker compose config --pull-plan
pocker compose -f docker-compose.prod.yml config --images api workerpocker compose config --format json prints pocker's resolved pull model, not
Docker Compose's full canonical configuration. Build-only services without an
image are listed as skipped because there is no registry image for pocker to
pull.
Pull Compose service images:
pocker compose pull
pocker compose -f docker-compose.prod.yml pull api worker
pocker compose pull --max-parallel-images 4Compose file discovery follows the usual default names and supports repeated
-f/--file flags. Image discovery supports service image, .env
interpolation, include, and extends.
Enable optional Compose services with --profile. Repeat the flag to enable
multiple profiles:
pocker compose --profile tools --profile debug pullWhen no profile flag is given, pocker reads the comma-separated
COMPOSE_PROFILES value from the process environment or the Compose project's
.env file. The process environment takes precedence. Use * to enable every
profile:
COMPOSE_PROFILES='*' pocker compose config --imagesNaming a service explicitly includes that service even when its profile is not otherwise active:
pocker compose config --images optional-service
pocker compose pull optional-service