docker-compose up [service...]

Create and start containers




--abort-on-container-exitStops all containers if any container was stopped. Incompatible with -d
--always-recreate-depsRecreate dependent containers. Incompatible with --no-recreate
--attach <attach>
  • Repeatable ♾
--attach-dependenciesAttach to dependent containers
--buildBuild images before starting containers
--detach, -dDetached 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-recreateRecreate containers even if their configuration and image haven't changed
--no-buildDon't build an image, even if it's missing
--no-colorProduce monochrome output
--no-depsDon't start linked services
--no-log-prefixDon't print prefix in logs
--no-recreateIf containers already exist, don't recreate them. Incompatible with --force-recreate
--no-startDon't start the services after creating them
--quiet-pullPull without printing progress information
--remove-orphansRemove containers for services not defined in the Compose file
--renew-anon-volumes, -VRecreate anonymous volumes instead of retrieving data from the previous containers
--scale <scale>
  • Repeatable ♾
--timeout, -t <timeout>Use this timeout in seconds for container shutdown when attached or when containers are already running
--waitWait for services to be running|healthy. Implies detached mode