Difference between revisions of "Docker stop"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(11 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>
  
  
 
== Examples ==
 
== Examples ==
docker stop my_container_name
+
 
 
  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 ==
Line 15: 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: