Merge pull request #86 from cyplo/rerun_fedora
Do not add docker group if it already exists
This commit is contained in:
commit
85e622b9cc
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ fi
|
||||||
if [[ -z $USER ]]; then
|
if [[ -z $USER ]]; then
|
||||||
USER=`whoami`
|
USER=`whoami`
|
||||||
fi
|
fi
|
||||||
sudo groupadd docker
|
|
||||||
|
getent group docker || sudo groupadd docker
|
||||||
sudo usermod -aG docker $USER
|
sudo usermod -aG docker $USER
|
||||||
|
|
||||||
# vscode
|
# vscode
|
||||||
|
|
Loading…
Reference in a new issue