mirror of
https://github.com/mr0xb/scripts.git
synced 2026-08-27 19:34:57 -04:00
initial commit
This commit is contained in:
parent
2f723ac7ee
commit
62156a1d85
9 changed files with 68 additions and 0 deletions
8
util/dockerclean
Normal file
8
util/dockerclean
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
all=$(sudo docker ps -aq)
|
||||
if [[ -z $all ]];then
|
||||
echo "No containers found."
|
||||
exit
|
||||
fi
|
||||
sudo docker rm $all
|
||||
Loading…
Reference in a new issue