Docker container for running a remote Monero node in it
- Dockerfile 87.1%
- Shell 12.9%
| .gitignore | ||
| Containerfile | ||
| entrypoint.sh | ||
| README.md | ||
Monero node Docker container
This repository provides a Dockerfile which builds a ready to use semi-public node. You can use this container to setup an exteral Monero node on your server to which you can connect with your Monero wallet.
Getting started
First you should build and tag the container. By default, the included Containerfile pulls the latest Monero Linux CLI tarball, verifies it and extracts it to appropriate location.
$ docker build -t registry.example.com/monero:latest . -f Containerfile
After the container has finished building, you can spin it up using following commands:
$ docker run -p 127.0.0.1:18081:18081 -v ./blockchain:/app/monero/data registry.example.com/monero:latest
This will run the Monero node with restricted RPC mode and no SSL. Volumes are following:
/app/monero/data- Monero blockchain data/etc/letsencrypt- Path to SSL certificates to use for Let's Encrypt
When using SSL certificate you should also set the LETSENCRYPT_DOMAIN environment variable with an appropriate domain name for your node.