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
This commit is contained in:
Dhruv Mistry 2024-11-12 18:09:03 +05:30 committed by GitHub
parent 7147ed93e9
commit aa392abaf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,6 +53,11 @@ install_docker() {
esac esac
startAndEnableService 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}"
} }
install_docker_compose() { install_docker_compose() {