Difference between revisions of "Docker-compose restart"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
Restarts all stopped and running services. | Restarts all stopped and running services. | ||
− | [[docker-compose | + | [[docker-compose]] restart SERVICE_NAME |
Restarting SERVICE_NAME ... done | Restarting SERVICE_NAME ... done | ||
Revision as of 14:44, 13 January 2023
https://docs.docker.com/compose/reference/restart/
docker-compose restart
ordocker-compose restart SERVICE_NAME
docker-compose restart && docker-compose logs -f
Restarts all stopped and running services.
docker-compose restart SERVICE_NAME Restarting SERVICE_NAME ... done
Related commands
docker-compose stop
docker-compose start
docker-compose
: [start
|stop
|restart
|pull
|up
|down
|ps
]docker-compose logs -f
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: