add sudo to docker in case
This commit is contained in:
parent
4c6c1ffcb8
commit
7a39496fcd
2
manage
2
manage
@ -86,7 +86,7 @@ function install_docker() {
|
||||
echo -e "${COLOR_GREEN}Docker Compose file already exists, skipping.${COLOR_RESET}"
|
||||
fi
|
||||
echo -e "${COLOR_BLUE}Creating Docker network...${COLOR_RESET}"
|
||||
docker network create --subnet=10.5.0.0/16 aidxnfun-n
|
||||
sudo docker network create --subnet=10.5.0.0/16 aidxnfun-n
|
||||
echo -e "${COLOR_GREEN}Done!${COLOR_RESET}"
|
||||
sudo usermod -aG docker $USER
|
||||
echo -e "${COLOR_GREEN}User added to Docker group. Please log out and back in for the changes to take effect.${COLOR_RESET}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user