From 8fb41e9009faf0165e6675e9a2af8aea609e7fb7 Mon Sep 17 00:00:00 2001 From: selsta Date: Fri, 26 Jun 2026 19:33:40 +0200 Subject: [PATCH] README: reorganize and harden Docker monerod instructions --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 2a52e8cfa..7b96dfe96 100644 --- a/README.md +++ b/README.md @@ -507,6 +507,19 @@ For more information, please check out Trezor [src/device_trezor/README.md](src/ See [contrib/guix/README.md](contrib/guix/README.md). +### Building and running monerod with Docker + +```bash +# Build image +docker build -t monerod . + +# Create a directory on the host for the blockchain +mkdir -p /path/to/bitmonero + +# Run it +docker run -d --user $(id -u):$(id -g) -v /path/to/bitmonero:/.bitmonero -p 127.0.0.1:18080:18080 -p 127.0.0.1:18081:18081 monerod +``` + ## Installing Monero from a package **DISCLAIMER: These packages are not part of this repository or maintained by this project's contributors, and as such, do not go through the same review process to ensure their trustworthiness and security.** @@ -560,19 +573,6 @@ Packages are available for brew install monero ``` -* Docker - - ```bash - # Build image - docker build -t monerod . - - # Create a directory on the host for the blockchain - mkdir -p /path/to/bitmonero - - # Run it - docker run -d --user $(id -u):$(id -g) -v /path/to/bitmonero:/.bitmonero -p 18080:18080 -p 18081:18081 monerod - ``` - Packaging for your favorite distribution would be a welcome contribution! ## Running monerod