From 38862b052909c600463c5d583c929363dc025776 Mon Sep 17 00:00:00 2001 From: Jesse Donat Date: Wed, 18 Dec 2024 09:23:48 -0600 Subject: [PATCH] Improve Docker "Persisting Data" Section `pwd` is case sensitive on linux Add missing `--name ergo` --- distrib/docker/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/docker/README.md b/distrib/docker/README.md index 9d4feed6..6dc7a55e 100644 --- a/distrib/docker/README.md +++ b/distrib/docker/README.md @@ -53,14 +53,14 @@ For example, to create a new docker volume and then mount it: ```shell docker volume create ergo-data -docker run --init -d -v ergo-data:/ircd -p 6667:6667 -p 6697:6697 ghcr.io/ergochat/ergo:stable +docker run --init --name ergo -d -v ergo-data:/ircd -p 6667:6667 -p 6697:6697 ghcr.io/ergochat/ergo:stable ``` Or to mount a folder from your host machine: ```shell mkdir ergo-data -docker run --init -d -v $(PWD)/ergo-data:/ircd -p 6667:6667 -p 6697:6697 ghcr.io/ergochat/ergo:stable +docker run --init --name ergo -d -v $(pwd)/ergo-data:/ircd -p 6667:6667 -p 6697:6697 ghcr.io/ergochat/ergo:stable ``` ## Customising the config