Difference between revisions of "Docker-compose restart"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  Restarts all stopped and running services.
 
  Restarts all stopped and running services.
  
  docker-compose restart SERVICE_NAME  
+
  [[docker-compose restart]] SERVICE_NAME  
 
  Restarting SERVICE_NAME ... done
 
  Restarting SERVICE_NAME ... done
  

Revision as of 14:43, 13 January 2023

https://docs.docker.com/compose/reference/restart/

docker-compose restart or docker-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

See also

Advertising: