Difference between revisions of "Docker stop"

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