mirror of
https://github.com/mr0xb/scripts.git
synced 2026-08-27 19:34:57 -04:00
8 lines
129 B
Shell
8 lines
129 B
Shell
#!/usr/bin/env bash
|
|
|
|
all=$(sudo docker ps -aq)
|
|
if [[ -z $all ]];then
|
|
echo "No containers found."
|
|
exit
|
|
fi
|
|
sudo docker rm $all
|