Create docker group on ubuntu f it doesnt exist
This commit is contained in:
parent
dc524e68db
commit
313558ce5c
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ if [[ -z $USER ]]; then
|
||||||
USER=`whoami`
|
USER=`whoami`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo groupadd docker | true
|
||||||
sudo usermod -aG docker $USER
|
sudo usermod -aG docker $USER
|
||||||
|
|
||||||
if [[ -z $NO_SYSTEMCTL ]]; then
|
if [[ -z $NO_SYSTEMCTL ]]; then
|
||||||
|
|
Loading…
Reference in a new issue