Difference between revisions of "Docker stop"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 
<code>docker stop CONTAINER_NAME</code> Stop one or more running containers https://docs.docker.com/engine/reference/commandline/stop/
 
<code>docker stop CONTAINER_NAME</code> Stop one or more running containers https://docs.docker.com/engine/reference/commandline/stop/
  
 +
* <code>[[docker]] stop $([[docker container ls -q]])</code>
  
  
Line 8: Line 10:
 
  my_container_name
 
  my_container_name
 
   
 
   
  Use: [[docker ps -a]] to verify status
+
  To verify status execute: [[docker ps -a]]
  
[[docker container stop]] $([[docker container ls]] -aq)
+
* <code>[[docker]] stop $([[docker container ls -q]])</code>
  
 
== Related commands ==
 
== Related commands ==

Latest revision as of 13:19, 17 July 2024

Advertising: