diff --git a/clean.sh b/clean.sh new file mode 100755 index 0000000..09197b0 --- /dev/null +++ b/clean.sh @@ -0,0 +1,13 @@ +#!/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 \ No newline at end of file