Compare commits

...

3 Commits

Author SHA1 Message Date
Dhruv Mistry
05d3d662a4
Merge 15e3a10009 into 2dabb934f7 2024-11-14 20:06:55 -05:00
Dhruv Mistry
15e3a10009
Update docker-setup.sh 2024-11-13 10:19:51 +05:30
Dhruv Mistry
aa392abaf8
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
2024-11-12 18:09:03 +05:30

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