diff options
author | Kevin Thomas <me@kevinthomas.dev> | 2021-12-13 18:53:06 -0800 |
---|---|---|
committer | Kevin Thomas <me@kevinthomas.dev> | 2021-12-13 18:53:06 -0800 |
commit | fef02800c75a9388f86b1c87c763ad8789bba54f (patch) | |
tree | 2fe4462bc5f18a9a5276b2d1ace328a92cda914e /README.md | |
parent | Merge pull request #8097 (diff) | |
download | monero-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.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |