Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker remove all stopped

$ docker rm $(docker ps --filter status=exited -q)
Comment

remove all stopped containers

$ docker rm $(docker ps --filter status=exited -q)
$ docker ps --filter status=exited -q | xargs docker rm
Comment

delete all stopped docker containers

sudo docker system prune -af
Comment

PREVIOUS NEXT
Code Example
Shell :: extract tar linux 
Shell :: how install lxd on lxd ubuntu 18.04 
Shell :: pip install ignore errors 
Shell :: angular localize install 
Shell :: upwork Dmitry V. 
Shell :: how to install rust wsl zsh 
Shell :: Live Share not doing anything on linux ubuntu 20.04 
Shell :: compress a folder linux zip 
Shell :: python venv windows 
Shell :: beautifulsoup download python 3 
Shell :: arch linux remove nodejs 
Shell :: create r anaconda environment 
Shell :: increase ssh session timeout linux 
Shell :: delete local git repository command line creates by react 
Shell :: netsh wlan command for wifi password 
Shell :: powershell join array 
Shell :: unrar installation using brew 
Shell :: alternative to installonair 
Shell :: apt update one package 
Shell :: how to change timezone in linux 
Shell :: start cronjob 
Shell :: cpanel webdav windows 
Shell :: copy ssh key to remote server 
Shell :: portainer templates 
Shell :: split terminal horizontally ubuntu 20.04 
Shell :: truffle hd 
Shell :: failed to get canoncal path of airootfs 
Shell :: create alias ubuntu 
Shell :: Could not install from "android" as it does not contain a package.json file 
Shell :: uninstall tesseract 4 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =