You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
145 B

#!/bin/sh
if (( $EUID != 0 )); then
echo "Should be run as root"
exit 1
fi
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)