This commit is contained in:
Dhruv Mistry 2024-11-12 18:09:26 +05:30 committed by GitHub
commit 160baca035
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() {
@ -109,4 +114,4 @@ install_components() {
checkEnv checkEnv
checkEscalationTool checkEscalationTool
install_components install_components