Difference between revisions of "Docker restart"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
[[Restart]] one or more containers
 +
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>
  
Line 8: Line 11:
 
* <code>[[docker start]]</code>
 
* <code>[[docker start]]</code>
 
* <code>[[docker logs]]</code>
 
* <code>[[docker logs]]</code>
 +
* <code>[[docker-compose logs]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 06:15, 28 June 2020

Advertising: