From d76f0114ecbe21d0037f798b54348ebc134e55b1 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Tue, 5 May 2020 12:34:47 +0200 Subject: [PATCH] Optimized docker setup --- scripts/client/setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/client/setup.sh b/scripts/client/setup.sh index d93e04e..6a3ee0a 100644 --- a/scripts/client/setup.sh +++ b/scripts/client/setup.sh @@ -79,6 +79,10 @@ if pacman -Qi "docker" > /dev/null ; then info "Setting up docker..." && info "Add current user \"$USER\" to user group docker..." && sudo usermod -a -G docker "$USER" || error "Failed to add user." + info "Restarting docker service..." && + sudo systemctl restart docker && + info "Disable and stop docker service..." && + sudo systemctl disable --now docker || error "\"systemctl\" produced an error." info "For performance reasons docker is not enabled. Start docker by executing \"sudo systemctl restart docker\" when you need it." fi