This commit is contained in:
Dhruv Mistry 2024-11-13 04:49:53 +00:00 committed by GitHub
commit ee8e1edfa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,6 +53,10 @@ install_docker() {
esac esac
startAndEnableService docker startAndEnableService docker
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 +113,4 @@ install_components() {
checkEnv checkEnv
checkEscalationTool checkEscalationTool
install_components install_components