compose/docs/reference/compose_create.md
Nicolas De Loof 2945532f97 fix --pull documentation
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2023-11-07 09:03:49 +01:00

1.5 KiB

docker compose create

Creates containers for a service.

Options

Name Type Default Description
--build Build images before starting containers.
--dry-run Execute command in dry run mode
--force-recreate Recreate containers even if their configuration and image haven't changed.
--no-build Don't build an image, even if it's policy.
--no-recreate If containers already exist, don't recreate them. Incompatible with --force-recreate.
--pull string policy Pull image before running ("always"|"missing"|"never"|"build")
--remove-orphans Remove containers for services not defined in the Compose file.
--scale stringArray Scale SERVICE to NUM instances. Overrides the scale setting in the Compose file if present.