CmdID / docker / docker compose
docker compose stop
Stops running containers without removing them. Docker Compose reference
2 options Its page in the Docker Compose reference
Options
--dry-runExecute command in dry run mode--timeout, -tSpecify a shutdown timeout in seconds