docker compose start command
The docker compose start command starts existing Docker Compose service containers that are currently stopped.
Unlike docker compose up, it does not create new containers or rebuild images; it only starts containers that have already been created but stopped.
Syntax
docker compose start [SERVICE...]
- SERVICE(Optional): Specifies the name of the service to start. If not specified, all stopped service containers will be started.
Example
** 1. Start all stopped services**
docker compose start
This starts all containers currently in a stopped state.
2. Start a specific service
docker compose start web
Only starts the web service's container without affecting other services.
Docker Command Reference