Compare commits

...

4 Commits

Author SHA1 Message Date
Dhruv Mistry
670a3bae94
Merge e3397f832929881c1282e5e22fda0094c954178e into 232b45e6a66753cb9ef8cea6f6ea8dcc045434c1 2025-02-14 10:17:31 +00:00
Adam Perkowski
e3397f8329
use newgrp
Co-authored-by: Jeevitha Kannan K S <ksjeevithakannan123@gmail.com>
2024-11-17 02:40:09 +01: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,11 @@ install_docker() {
esac
startAndEnableService docker
printf "%b\n" "${YELLOW}Adding current user to the docker group...${RC}"
"$ESCALATION_TOOL" usermod -aG docker "$USER"
newgrp docker
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
install_components