Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Docker remove all exited containers

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

docker remove all exited containers

docker container prune
Comment

remove all container exited

sudo docker ps -a | grep Exit | cut -d ' ' -f 1 | xargs sudo docker rm
Comment

PREVIOUS NEXT
Code Example
Shell :: unzip bz2 file ubuntu 
Shell :: find and replace in all files in directory centos 
Shell :: tar linu 
Shell :: awk sum if 
Shell :: install mongodb on m1 
Shell :: locate all exe file in powershell 
Shell :: restart docker daemon windows 
Shell :: generate ed25519 key pair 
Shell :: clementine linux download 
Shell :: gitlab set ssh key 
Shell :: linux unpack tar.gz file 
Shell :: upgrading composer globally on windows 
Shell :: uninstall dependencies npm 
Shell :: install angular cdk 
Shell :: linux open file explorer from terminal 
Shell :: node_modules not being ignored git 
Shell :: pause powershell script until keypress 
Shell :: ano de lançamento do youtube 
Shell :: error: RPC failed; curl 56 LibreSSL SSL_read: Connection reset by peer, errno 54 
Shell :: login git in terminal 
Shell :: snap store android studio 
Shell :: network in arch linux 
Shell :: nginx install centos7 
Shell :: start cronjob 
Shell :: download from gdrive link command line 
Shell :: linux size of files 
Shell :: github adding images to readme 
Shell :: how to find current active yarn resource manager 
Shell :: raspberrypi-ui-mods kept back 
Shell :: read fingerprint ssh-keygen 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =