Code Monkey home page Code Monkey logo

monero-full-node's Introduction

monero-full-node

docker image to run a monero full network node

October 2018: Breaking Change

warning
for improved security the new images will run the monero daemon under it's own user and not as root anymore! If you simply upgrade without following the next steps you will run into this error:
WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:75 Failed to open lmdb environment: Permission denied

this can be fixed with the following steps

  • stop and remove the current container: docker stop monerod && docker rm monerod
  • change the owner of the volume to monero user docker run -v xmrchain:/home/monero/.bitmonero -t --rm --name=monerod -u root --entrypoint=/bin/chown kannix/monero-full-node -R monero:monero .bitmonero
  • start the container docker run -tid --restart=always -v xmrchain:/home/monero/.bitmonero -p 18080:18080 -p 18081:18081 --name=monerod kannix/monero-full-node

Hint: keep in mind that you have to adapt your volume bindings to your own configuration e.g. if you followed the older version of this readme you have to use: -v /var/data/blockchain-xmr:/home/monero/.bitmonero instead of -v xmrchain:/home/monero/.bitmonero

Usage

docker run -tid --restart=always -v xmrchain:/home/monero/.bitmonero -p 18080:18080 -p 18081:18081 --name=monerod kannix/monero-full-node

Updates

Manual Way

docker stop monerod
docker rm monerod
docker pull kannix/monero-full-node

Then launch using the "how to use" command above

Automatic way https://github.com/v2tec/watchtower

Donations

I am supporting this image in my spare time and would be very happy about some donations to keep this going. You can support me by sending some XMR to: 47VCQgBjmLd1oMGKGcbVbzM1ND1qUWzs7Nonxip9cuNraJwVxDWQb1nU5tPfgYx4xLftnPiR1zPcgZBi4Mmoj3at39C7qp9

monero-full-node's People

Contributors

cyboerg42 avatar gtklocker avatar kannix avatar molokai avatar nathanthegr8 avatar takato3000 avatar xbelladonna avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.