Difference between revisions of "Docker restart"

From wikieduonline
Jump to navigation Jump to search
 
(5 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_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 7: Line 10:
 
* <code>[[docker-compose restart]]</code>
 
* <code>[[docker-compose restart]]</code>
 
* <code>[[docker start]]</code>
 
* <code>[[docker start]]</code>
 +
* <code>[[docker logs]]</code>
 +
* <code>[[docker-compose logs]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 06:15, 28 June 2020

Advertising: