Changed where the user is added to the docker group.

This commit is contained in:
2025-03-30 16:45:50 +03:00
parent 3635d739a5
commit 0bd85777dc
2 changed files with 7 additions and 2 deletions

View File

@@ -35,6 +35,11 @@ sudo apt-get docker-buildx -y
#### 2. Run the setup script: #### 2. Run the setup script:
Add your user to the docker group and login again:
```bash
sudo usermod -aG sudo $USER && sudo su - $USER
```
This will download & execute the `setup.sh` script. This will download & execute the `setup.sh` script.
```bash ```bash

View File

@@ -54,7 +54,7 @@ ln -sf "$APP_DIR/scripts/manager.sh" "$HOME/.local/bin/db-middleware"
export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin:$PATH"
source ~/.bashrc source ~/.bashrc
sudo usermod -aG docker $USER # sudo usermod -aG docker $USER
newgrp docker # newgrp docker
# Run the manager.sh script with the "install" argument # Run the manager.sh script with the "install" argument
"$APP_DIR/scripts/manager.sh" install "$APP_DIR/scripts/manager.sh" install