aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Thomas <me@kevinthomas.dev>2021-12-13 18:53:06 -0800
committerKevin Thomas <me@kevinthomas.dev>2021-12-13 18:53:06 -0800
commitfef02800c75a9388f86b1c87c763ad8789bba54f (patch)
tree2fe4462bc5f18a9a5276b2d1ace328a92cda914e
parentMerge pull request #8097 (diff)
downloadmonero-fef02800c75a9388f86b1c87c763ad8789bba54f.tar.xz
Fix docker instructions to account for non-root user
Since the non-root user 'monero' is specified in the Dockerfile, the bind mount when running the container should be set to this user's home directory be default, not the root user's home directory.
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index c1f3589c4..1f7dfb069 100644
--- a/README.md
+++ b/README.md
@@ -612,10 +612,10 @@ More info and versions in the [Debian package tracker](https://tracker.debian.or
docker build --build-arg NPROC=1 -t monero .
# either run in foreground
- docker run -it -v /monero/chain:/root/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero
+ docker run -it -v /monero/chain:/home/monero/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero
# or in background
- docker run -it -d -v /monero/chain:/root/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero
+ docker run -it -d -v /monero/chain:/home/monero/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero
```
* The build needs 3 GB space.