September 2024
Intermediate to advanced
743 pages
27h 48m
English
Table C.3 shows you the most important commands you need for using Docker Compose. For more information, visit https://docs.docker.com/compose.
|
Command |
Description |
|---|---|
|
docker-compose up |
Creates and starts all services defined in the configuration file |
|
docker-compose down |
Stops all services defined in the configuration file and removes all associated containers |
|
docker-compose start <SERVICE> |
Starts individual services (multiple services can be passed) |
|
docker-compose stop <SERVICE> |
Stops individual services (multiple services can be passed) |
|
docker-compose pause <SERVICE> |
Pauses individual services (multiple services can be passed) |
|
docker-compose unpause <SERVICE> |
Read now
Unlock full access