Difference between revisions of "Docker stop"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(8 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 ==
Line 18: Line 20:
 
* <code>[[docker-compose up]]</code>
 
* <code>[[docker-compose up]]</code>
 
* <code>[[docker container stop]]</code>
 
* <code>[[docker container stop]]</code>
 
+
* <code>[[docker system prune]]</code>
  
 
== Activitities ==
 
== Activitities ==

Latest revision as of 13:19, 17 July 2024

Advertising: