From aa392abaf8bc95df66841df6310226f190fded63 Mon Sep 17 00:00:00 2001 From: Dhruv Mistry <68422844+dhruvmistry2000@users.noreply.github.com> Date: Tue, 12 Nov 2024 18:09:03 +0530 Subject: [PATCH 1/2] Adding current user to DOCKER group When i used the docker setup in LINUTIL it didn't add the user to the docker group so this is the edited file --- core/tabs/applications-setup/docker-setup.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/tabs/applications-setup/docker-setup.sh b/core/tabs/applications-setup/docker-setup.sh index b693656b..af578194 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 + + # Add the current user to the docker group + printf "%b\n" "${YELLOW}Adding current user to the docker group...${RC}" + "$ESCALATION_TOOL" usermod -aG docker "$USER" + 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 From 15e3a100091e676aca74693a06641c473cb8f202 Mon Sep 17 00:00:00 2001 From: Dhruv Mistry <68422844+dhruvmistry2000@users.noreply.github.com> Date: Wed, 13 Nov 2024 10:19:51 +0530 Subject: [PATCH 2/2] Update docker-setup.sh --- core/tabs/applications-setup/docker-setup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/core/tabs/applications-setup/docker-setup.sh b/core/tabs/applications-setup/docker-setup.sh index af578194..c6dbd164 100755 --- a/core/tabs/applications-setup/docker-setup.sh +++ b/core/tabs/applications-setup/docker-setup.sh @@ -54,7 +54,6 @@ install_docker() { startAndEnableService docker - # Add the current user to the docker group printf "%b\n" "${YELLOW}Adding current user to the docker group...${RC}" "$ESCALATION_TOOL" usermod -aG docker "$USER" printf "%b\n" "${GREEN}Current user added to the docker group successfully.${RC}"