docker-compose restart
Jump to navigation
Jump to search
https://docs.docker.com/compose/reference/restart/
docker-compose restart
docker-compose restart SERVICE_NAME
Options:
--timeout , -t 10 Specify a shutdown timeout in seconds
docker-compose restart && docker-compose logs -f
Restarts all stopped and running services.
docker-compose restart SERVICE_NAME Restarting SERVICE_NAME ... done
docker-compose restart --help
Related commands
See also
docker-compose
,docker-compose.yml
: [services
|volumes
|networks
|up
|down
|restart
|logs
|create
|changelog
|version
|secrets
|config
|-v
|-h
|exec], docker-compose pull
,Environment:
, Docker-compose.yml examples,.env
, release notes, expose:, docker-compose --env-file,services.deploy.resources
Advertising: