This commit is contained in:
Dhruv Mistry 2024-11-17 01:40:11 +00:00 committed by GitHub
commit 2d48eb5c20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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