Skip to content

Commit

Permalink
Improve Docker "Persisting Data" Section
Browse files Browse the repository at this point in the history
`pwd` is case sensitive on linux
Add missing `--name ergo`
  • Loading branch information
donatj authored Dec 18, 2024
1 parent 1bdc45e commit 38862b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distrib/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38862b0

Please sign in to comment.