Difference between revisions of "Docker-compose restart"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  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:44, 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: