forked from piair/MsRewards-Reborn
13 lines
249 B
Bash
Executable File
13 lines
249 B
Bash
Executable File
#!/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 |