Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker remove none images

docker image prune --filter="dangling=true"
Comment

docker remove all images

# Use this to delete everything:
docker system prune -a --volumes

# remove containers created between now upto 4hrs back
docker container prune --filter "until=4h"

# remove images created between now upto 4hrs back
docker image prune --filter "until=4h"
Comment

docker remove all images with name

docker rmi $(docker images -f "dangling=true" -q)
Comment

docker remove all images

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

PREVIOUS NEXT
Code Example
Shell :: bash zero padding 
Shell :: format flashdisk terminal 
Shell :: How to kill all tmux sessions (or at least multiple sessions) from the CLI? 
Shell :: how to uninstall vscode from terminal ubuntu 
Shell :: install libssl1.0.0 ubuntu 20.04 
Shell :: create a batch file to create a text file with multiple line input 
Shell :: install angular in ubuntu 
Shell :: wsl2 folder in windwos 
Shell :: how to check installed packages in linux command 
Shell :: ubuntu check virtualbox version 
Shell :: pgdmp file 
Shell :: how to save multiple files in vim at once 
Shell :: how to uninstall android studio in ubuntu 20.04 using terminal 
Shell :: centos install openssh server 
Shell :: sudo command in windows 
Shell :: how to uninstall games on ubuntu 
Shell :: windows powershell ise run as administrator 
Shell :: prevent always typing sudo 
Shell :: android studio adb path mac 
Shell :: ews address already in use :::9000 
Shell :: qcow2 to vdi 
Shell :: ram speed check 
Shell :: ps aux tree 
Shell :: alpine linux mongodb 
Shell :: awk get index of matching substring 
Shell :: how to change time on kali linux 
Shell :: git reset change in one file 
Shell :: node js nodemailer Error: Invalid login: 535-5.7.8 Username and Password not accepted. 
Shell :: update git from terminal 
Shell :: git stash all changes 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =