Difference between revisions of "Docker stop"

From wikieduonline
Jump to navigation Jump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
{{lc}}
 +
<code>docker stop CONTAINER_NAME</code> Stop one or more running containers https://docs.docker.com/engine/reference/commandline/stop/
  
<code>docker stop</code> Stop one or more running containers https://docs.docker.com/engine/reference/commandline/stop/
+
* <code>[[docker]] stop $([[docker container ls -q]])</code>
  
  
 +
== Examples ==
  
== Examples ==
 
* <code>docker stop my_container_name</code>
 
 
  docker stop my_container_name
 
  docker stop my_container_name
 
  my_container_name
 
  my_container_name
* <code>[[docker container stop]] $(docker container ls -aq)</code>
+
 +
To verify status execute: [[docker ps -a]]
 +
 
 +
* <code>[[docker]] stop $([[docker container ls -q]])</code>
  
 
== Related commands ==
 
== Related commands ==
 
* <code>[[docker start]]</code>
 
* <code>[[docker start]]</code>
 +
* <code>[[docker ps]]</code>
 +
* <code>[[docker-compose start]]</code>
 +
* <code>[[docker-compose up]]</code>
 
* <code>[[docker container stop]]</code>
 
* <code>[[docker container stop]]</code>
 +
* <code>[[docker system prune]]</code>
  
 +
== Activitities ==
 +
# Understand [[Start configuration behavior and restart policy]] (<code>[[docker update]]</code>)
  
 
== See also ==
 
== See also ==

Latest revision as of 13:19, 17 July 2024

Advertising: