docker-compose up Explained

What docker-compose up does, with an example.

Published November 8, 2026

docker-compose up starts all services defined in a docker-compose.yml file.

Key points

  • Part of the standard Docker CLI used for building, running, and managing containers

Example

docker-compose up -d
More General articles