#Stop all Docker containers
docker stop $(docker ps -a -q)
#Delete every Docker container
#Must be run as images are attached to containers
docker rm -f $(docker ps -a -q)
#Delete every Docker image
docker rmi -f $(docker images -q)
Montag, 15. Januar 2018
Docker - stop & delete all containers and images
The following command deletes all Docker container and images:
Abonnieren
Kommentare zum Post (Atom)
-
1. Unmount the SD Card diskutil unmountDisk /dev/disk4 2. Use dd to create a backup, pipe trough pv to see the progess (example is 32...
-
If you want to shrink pdf files, you can make use of good old gs like this: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/e...
-
Neue Platte partitionieren (Linux raid autodetect code "fd") sudo cfdisk /dev/sbd Dateisystem auf dem RAID unmounten Neue P...
Keine Kommentare:
Kommentar veröffentlichen