mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 21:09:42 +00:00
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
This commit is contained in:
parent
7147ed93e9
commit
aa392abaf8
|
@ -53,6 +53,11 @@ install_docker() {
|
|||
esac
|
||||
|
||||
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() {
|
||||
|
@ -109,4 +114,4 @@ install_components() {
|
|||
|
||||
checkEnv
|
||||
checkEscalationTool
|
||||
install_components
|
||||
install_components
|
||||
|
|
Loading…
Reference in New Issue
Block a user