Difference between revisions of "Docker-compose restart"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
https://docs.docker.com/compose/reference/restart/
 
https://docs.docker.com/compose/reference/restart/
  
  <code>docker-compose restart SERVICE_NAME</code>
+
  <code>docker-compose restart</code> or <code>docker-compose restart SERVICE_NAME</code>
 +
 
 +
<code>docker-compose restart && [[docker-compose logs]] -f</code>  
  
 
  Restarts all stopped and running services.
 
  Restarts all stopped and running services.

Revision as of 12:14, 29 June 2020

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: