summaryrefslogtreecommitdiff
path: root/content/install
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-24 09:11:50 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-24 09:11:50 -0300
commita674461b1676f345dc369e0d8d76d0b6e65dd463 (patch)
treefe083e2dc3ff4131cb069b7628541daf567b2add /content/install
parent12bea14501aa9871cd7b28727e1b4adfd140a372 (diff)
Moved the "docker without sudo" warning and added more info
Diffstat (limited to 'content/install')
-rw-r--r--content/install/steps.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/content/install/steps.md b/content/install/steps.md
index fa689a4..20a335a 100644
--- a/content/install/steps.md
+++ b/content/install/steps.md
@@ -38,6 +38,14 @@ sudo mkdir -p /opt/yams
sudo chown -R $USER:$USER /opt/yams
```
+### If you already have docker and docker-compose installed...
+
+Make sure you can run `docker` **without** `sudo`!
+
+If you run `docker` with `sudo` and another user other than `root` you'll encounter multiple permission errors. You can find instructions on how to run `docker` without `sudo` here: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user.
+
+If you can run `docker run hello-world` without `sudo`, you can continue. If you encounter any other `docker` issue, go to the [FAQs](/faqs/), there's a section on "Common `docker` permission errors".
+
### Inspecting the `install` script by yourself (optional).
Its always a good practice to verify and study the scripts you run on your machine. You can always inspect `install.sh` on the Gitlab repo here: https://gitlab.com/rogs/yams/-/blob/master/install.sh. You don't have to be a complete expert in `bash` (I'm definitely not lol), but if you have any experience with the Linux terminal you should be able to at understand what's happening.
@@ -80,8 +88,6 @@ Do you want YAMS to install docker and docker-compose? IT ONLY WORKS ON DEBIAN A
```
You can choose `y` to install `docker` and `docker-compose` with YAMS or `n` to exit the script.
-**Note:** If you already have `docker` installed, make sure you can run it **without** sudo! If you run it with sudo and another user other than `root` you'll encounter multiple permission errors! You can find instructions on how to run `docker` without sudo here: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
-
When docker finishes the installation OR if you already had `docker` and `docker-compose` installed, you should see the following message at the bottom:
```bash