mirror of
https://github.com/monero-project/monero.git
synced 2024-12-29 15:16:11 -05:00
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.
This commit is contained in:
parent
cc9ca953a9
commit
fef02800c7
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user