Skip to content

What docker compose up does

Select an icon to see what it is.

Step 1 of 6

Compose reads the file and plans

The docker compose plugin reads compose.yaml and decides the project name, here shop. It works out which networks, volumes and containers should exist. It does this itself, on your machine, before it sends anything.

$ docker compose up -d
PrevNext

Resolved by the Compose CLI

project: shop
network: shop-net
volume: pgdata (created as shop_pgdata)
containers: shop-web-1, shop-api-1, shop-db-1