CmdID / docker / docker compose
docker compose restart
Restarts all stopped and running services, or the specified services only. Docker Compose reference
3 options Its page in the Docker Compose reference
Options
--dry-runExecute command in dry run mode--no-depsDon't restart dependent services--timeout, -tSpecify a shutdown timeout in seconds