CmdID / docker / docker compose
docker compose create
Creates containers for a service Docker Compose reference
10 options Its page in the Docker Compose reference
Options
--buildBuild images before starting containers--dry-runExecute command in dry run mode--force-recreateRecreate containers even if their configuration and image haven't changed--no-buildDon't build an image, even if it's policy--no-recreateIf containers already exist, don't recreate them.--pullPull image before running ("always"\--quiet-pullPull without printing progress information--remove-orphansRemove containers for services not defined in the Compose file--scaleScale SERVICE to NUM instances.--yes, -yAssume "yes" as answer to all prompts and run non-interactively