User Tools

Site Tools


how_to_remove_images_and_containers_in_docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to_remove_images_and_containers_in_docker [2021/06/04 12:31] chifekhow_to_remove_images_and_containers_in_docker [2023/09/14 06:06] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Чтобы остановить все контейнеры docker: ======
 +
 +
 +''
 +docker stop $(docker ps -a -q)
 +''
 +
 +
 +
 ====== How to Remove Images and Containers in Docker ====== ====== How to Remove Images and Containers in Docker ======
 +
 +''docker system prune''
 +
 +
 +==== Extended description ====
 +
 +Remove all unused containers, networks, images (both dangling and unreferenced), and optionally, volumes.
 +
 +For example uses of this command, refer to the examples section below.
 +
  
  
Line 29: Line 48:
  
  
- 
-''docker system prune'' 
- 
- 
-Extended description 
-Remove all unused containers, networks, images (both dangling and unreferenced), and optionally, volumes. 
- 
-For example uses of this command, refer to the examples section below. 
  
how_to_remove_images_and_containers_in_docker.1622809876.txt.gz · Last modified: 2023/09/14 06:06 (external edit)