Docker Compose

# Build, (re)create, start, and attache to containers for a service
docker-compose up

# Stop containers and remove containers, networks, volumes, and images
docker-compose down

# Show list of containers
docker-compose ps

# Start existing containers for a service
docker-compose start

# Stop running containers without removing them
docker-compose stop

# Pause running containers of a service
docker-compose pause

# Unpause paused containers of a service
docker-compose unpause

Last updated

Was this helpful?