Difference between revisions of "Docker restart"

From wikieduonline
Jump to navigation Jump to search
 
Line 1: Line 1:
{{Draft}}
+
[[Restart]] one or more containers
 
https://docs.docker.com/engine/reference/commandline/restart/
 
https://docs.docker.com/engine/reference/commandline/restart/
  
  
* <code>docker restart CONTAINER_NAME</code>
+
* <code>docker restart CONTAINER_NAME_1</code>
 +
* <code>docker restart CONTAINER_NAME_1 CONTAINER_NAME_2</code>
 
* <code>docker restart $(docker ps -q)</code>
 
* <code>docker restart $(docker ps -q)</code>
  

Latest revision as of 06:15, 28 June 2020

Advertising: