From 43725aaf23fed0fde2b672d81ded804c30cdcc19 Mon Sep 17 00:00:00 2001 From: Marwolf Date: Wed, 22 Aug 2018 12:32:34 -0400 Subject: [PATCH] Early grants Docker without sudo --- Linux_Installer.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Linux_Installer.sh b/Linux_Installer.sh index 74d9384..2b0ab62 100755 --- a/Linux_Installer.sh +++ b/Linux_Installer.sh @@ -62,6 +62,7 @@ if [ "$install" == "1" ]; then curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | tee -a installer.log &>/dev/null sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | tee -a installer.log &>/dev/null sudo apt-get update | tee -a installer.log &>/dev/null && sudo apt-get install docker-ce docker-compose -y | tee -a installer.log &>/dev/null + sudo setfacl -m user:$USER:rw /var/run/docker.sock | tee -a ../installer.log &>/dev/null clear echo "Setting Docker to have the correct storage driver and reloading service."