summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-13 15:29:23 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-13 15:29:23 -0300
commit3e20beafc4721f403840b6e41a89ab666f6db851 (patch)
treea43254c9d0fc864c439f234073a10bc48dac223e
parent5e06e43c904e6cc40c34d912982b532ce7e47ca0 (diff)
Added docker permission errors to the FAQs
-rw-r--r--content/faqs/_index.md15
-rw-r--r--content/install/steps.md2
-rw-r--r--content/install/using-the-cli.md3
3 files changed, 19 insertions, 1 deletions
diff --git a/content/faqs/_index.md b/content/faqs/_index.md
index 7531e7a..4d2b7d5 100644
--- a/content/faqs/_index.md
+++ b/content/faqs/_index.md
@@ -5,6 +5,19 @@ draft: false
weight: 100
---
-### Why did you choose <this_software> instead of <that_software>?
+## Common `docker` permission errors
+
+If you are getting errors like this when running the installer or running the `yams` cli:
+
+```sh
+permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock:
+```
+
+It might mean that you need to reload your user. This is fixed by logging out of your server and logging back in.
+
+This happens because your user needs to be part of the `docker` group in order to be able to execute `docker` without `sudo`
+
+## Why did you choose <this_software> instead of <that_software>?
Because. That's why it's _**opinionated**_, you don't _necessarily_ have to agree with me. This setup is aimed at noobs and first time media server enthusiasts. You can always use my sources and fork the project 🔥
+
diff --git a/content/install/steps.md b/content/install/steps.md
index 926daa6..5ced292 100644
--- a/content/install/steps.md
+++ b/content/install/steps.md
@@ -114,6 +114,8 @@ Everything installed correctly! 🎉
...
```
+If you get a `docker` permission error, go [here](/faqs/) to fix it.
+
After a lot of docker installing, you'll get a message like this at the end:
```bash
diff --git a/content/install/using-the-cli.md b/content/install/using-the-cli.md
index 9613d79..a2e7f4d 100644
--- a/content/install/using-the-cli.md
+++ b/content/install/using-the-cli.md
@@ -33,3 +33,6 @@ Everything is very self-explanatory, but I'll go in more detail here:
- `stop`: Stops all the services gracefully.
- `start`: Starts all the services.
- `destroy`: Destroys all the services so you can start the configuration from scrath. ⚠️ Be careful! ⚠️ There's no going back after this!
+
+
+If you get a `docker` permission error trying to use the CLI, go [here](/faqs/) to fix it.