mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +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
|
esac
|
||||||
|
|
||||||
startAndEnableService docker
|
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() {
|
install_docker_compose() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user