docker-compose up [service...]
Create and start containers
Arguments
Options
Name | Description |
---|
--abort-on-container-exit | Stops all containers if any container was stopped. Incompatible with -d |
--always-recreate-deps | Recreate dependent containers. Incompatible with --no-recreate |
--attach <attach> | |
--attach-dependencies | Attach to dependent containers |
--build | Build images before starting containers |
--detach, -d | Detached mode: Run containers in the background |
--exit-code-from <exit-code-from> | Return the exit code of the selected service container. Implies --abort-on-container-exit |
--force-recreate | Recreate containers even if their configuration and image haven't changed |
--no-build | Don't build an image, even if it's missing |
--no-color | Produce monochrome output |
--no-deps | Don't start linked services |
--no-log-prefix | Don't print prefix in logs |
--no-recreate | If containers already exist, don't recreate them. Incompatible with --force-recreate |
--no-start | Don't start the services after creating them |
--quiet-pull | Pull without printing progress information |
--remove-orphans | Remove containers for services not defined in the Compose file |
--renew-anon-volumes, -V | Recreate anonymous volumes instead of retrieving data from the previous containers |
--scale <scale> | |
--timeout, -t <timeout> | Use this timeout in seconds for container shutdown when attached or when containers are already running |
--wait | Wait for services to be running|healthy. Implies detached mode |