Create docker group on ubuntu f it doesnt exist

This commit is contained in:
Cyryl Płotnicki 2019-06-08 17:36:32 +01:00
parent dc524e68db
commit 313558ce5c

View file

@ -18,6 +18,7 @@ if [[ -z $USER ]]; then
USER=`whoami`
fi
sudo groupadd docker | true
sudo usermod -aG docker $USER
if [[ -z $NO_SYSTEMCTL ]]; then