Merge pull request #8112

fef0280 Fix docker instructions to account for non-root user (Kevin Thomas)
This commit is contained in:
luigi1111 2022-01-24 15:13:37 -05:00
commit 0f9fae5a96
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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 . docker build --build-arg NPROC=1 -t monero .
# either run in foreground # 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 # 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. * The build needs 3 GB space.