Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker remove images without tag

docker rmi $(docker images --filter "dangling=true" -q --no-trunc)
Comment

docker delete images without tag

docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')
Comment

docker remove image by tag

 docker rmi $(docker images --filter=reference="*:stuff_*" -q)
Comment

PREVIOUS NEXT
Code Example
Shell :: remove folder with content cmd 
Shell :: add python to path zsh 
Shell :: docker map folder 
Shell :: wget file from google drive 
Shell :: how to set to default terminal in ubunty 
Shell :: SSH key passphrase reset 
Shell :: php enable extension lphp.ini 
Shell :: leaflet install yarn 
Shell :: powershell active directory script examples 
Shell :: etherum for ubuntu 
Shell :: react-native-router-flux 
Shell :: bash get file size in mb 
Shell :: how to delete last push github 
Shell :: linux 
Shell :: bash grep for two terms in same line 
Shell :: install app in kali linux 
Shell :: bash function arguments 
Shell :: add username password git 
Shell :: list of installed packages and version 
Shell :: livewire ErrorException Undefined array key "id" 
Shell :: linux script to clean up log files 
Shell :: how to view hidden files and folders on terminal 
Shell :: bash if else 
Shell :: how to upgrade npm in ubuntu 
Shell :: bash read file content 
Shell :: build docker file with no cache 
Shell :: docker image tar import 
Shell :: terraform install on ubuntu 
Shell :: Error: Unable to find a match: ansible 
Shell :: how to ignore files in git 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =