diff --git a/core/tabs/applications-setup/docker-setup.sh b/core/tabs/applications-setup/docker-setup.sh index b693656b..d2c29395 100755 --- a/core/tabs/applications-setup/docker-setup.sh +++ b/core/tabs/applications-setup/docker-setup.sh @@ -53,6 +53,11 @@ install_docker() { esac startAndEnableService docker + + printf "%b\n" "${YELLOW}Adding current user to the docker group...${RC}" + "$ESCALATION_TOOL" usermod -aG docker "$USER" + newgrp docker + printf "%b\n" "${GREEN}Current user added to the docker group successfully.${RC}" } install_docker_compose() { @@ -109,4 +114,4 @@ install_components() { checkEnv checkEscalationTool -install_components \ No newline at end of file +install_components