aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/self-hosting/docker.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/docs/self-hosting/docker.md b/docs/docs/self-hosting/docker.md
index 8ed36010..57f5ca0c 100644
--- a/docs/docs/self-hosting/docker.md
+++ b/docs/docs/self-hosting/docker.md
@@ -10,7 +10,10 @@
There is a supplied docker image to make deploying a server as a container easier. The "LATEST TAGGED RELEASE" can be found on the [releases page](https://github.com/atuinsh/atuin/releases).
```sh
-docker run -d -v "$HOME/.config/atuin:/config" ghcr.io/atuinsh/atuin:<LATEST TAGGED RELEASE> server start
+CONFIG="$HOME/.config/atuin"
+mkdir "$CONFIG"
+chown 1000:1000 "$CONFIG"
+docker run -d -v "$CONFIG:/config" ghcr.io/atuinsh/atuin:<LATEST TAGGED RELEASE> server start
```
## Docker Compose
@@ -59,6 +62,8 @@ services:
Start the services using `docker compose`:
```sh
+mkdir config
+chown 1000:1000 config
docker compose up -d
```