MsRewards/clean.sh

13 lines
249 B
Bash
Raw Normal View History

2024-04-10 11:36:33 +02:00
#!/bin/bash
docker-do () { # Check if sudo needs to be used
if id -nG "$(whoami)" | grep -qw "docker"; then
docker $@
else
sudo docker $@
fi
}
docker-do stop MsRewards
docker-do rm MsRewards
docker-do image rm msrewards