docker-compose stop

Estimated reading time: 1 minute
Usage: stop [options] [SERVICE...]

Options:
-t, --timeout TIMEOUT      Specify a shutdown timeout in seconds (default: 10).

Stops running containers without removing them. They can be started again with docker-compose start.

fig, composition, compose, docker, orchestration, cli, stop