Skip to content

docker compose up

Description

Creates and starts all the services defined in a Compose file.

Syntax

docker compose up [OPTIONS]

Common Options

Option Description
-d Run in the background (detached)
--build Rebuild images before starting
--force-recreate Recreate containers even if unchanged

Example

docker compose up -d --build

Run this from the folder containing your compose.yaml.