From fef02800c75a9388f86b1c87c763ad8789bba54f Mon Sep 17 00:00:00 2001 From: Kevin Thomas Date: Mon, 13 Dec 2021 18:53:06 -0800 Subject: [PATCH] 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. --- README.md | 4 ++-- 1 file 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.