Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker delete all images

docker rmi -f $(docker images -a -q)
Comment

remove all docker images

# List all containers (only IDs)
docker ps -aq
# Stop all running containers
docker stop $(docker ps -aq)
# Remove all containers
docker rm $(docker ps -aq)
# Remove all images
docker rmi $(docker images -q)
Comment

delete all docker images

docker system prune -a
Comment

docker delete all images

docker system prune -a
docker image prune
Comment

docker remove all images windows

docker images -a -q | % { docker image rm $_ -f }
Comment

remove all docker images

$images = docker images -a -q
foreach ($image in $images) { docker image rm $image -f }
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install laravel on mac 
Shell :: if argument exists bash 
Shell :: change default shell fish 
Shell :: mac httpd stop 
Shell :: download nbextensions 
Shell :: install sdkman ubuntu 
Shell :: ubuntu install libc6-i386 
Shell :: linux ram info 
Shell :: how to commit code to bitbucket first time 
Shell :: install helm ubuntu 
Shell :: Pipreqs: command not found 
Shell :: git log with date 
Shell :: linux show groups 
Shell :: shell get size of directory 
Shell :: centos dig 
Shell :: delete conda from machine 
Shell :: remove pyqt5 with conda 
Shell :: ubuntu install iptables-persistent 
Shell :: powershell script to disable screensaver 
Shell :: The requested nginx plugin does not appear to be installed certbot 
Shell :: heroku install classic 
Shell :: install mysql linux mint 
Shell :: install en_web_core md 
Shell :: homebrew install git 
Shell :: brew service start redis 
Shell :: how to install pgzrun 
Shell :: ubuntu change permissions on folder and subfolders 
Shell :: uninstall figma from linux distributions 
Shell :: find files created in last 20 days 
Shell :: git init at wrong folder 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =