Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Minimal docker container for dashd

Discussion in 'Projects' started by thelazier, Mar 23, 2016.

  1. thelazier

    thelazier Active Member

    Joined:
    Jan 5, 2015
    Messages:
    240
    Likes Received:
    184
    Trophy Points:
    103
    Dash Address:
    Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
    • Like Like x 4
    • Informative Informative x 1
  2. koalalorenzo

    koalalorenzo New Member

    Joined:
    Feb 29, 2016
    Messages:
    9
    Likes Received:
    17
    Trophy Points:
    3
    Well done! I think I will use it soon!
    One question, that probably you can help me to understand: why are you applying some patches in the build.sh when you are using the master branch?
    I suggest to use just the plain master branch, because you may generate some errors by just (re?)applying some patches from pull requests already merged or updated.
    Is there a specific reason?
     
    • Like Like x 1
  3. thelazier

    thelazier Active Member

    Joined:
    Jan 5, 2015
    Messages:
    240
    Likes Received:
    184
    Trophy Points:
    103
    Dash Address:
    Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
    Yes, the reason is about some incompatible which make some depends software unable to be built on alpine linux.
     
    • Like Like x 1
  4. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,306
    Likes Received:
    2,436
    Trophy Points:
    1,183
    I have created a official dockerhub repo now

    https://hub.docker.com/r/dashpay/dashd/
    https://github.com/dashpay/docker-dashd

    Images are automatically built and pushed to dockerhub.

    Now starting a node is as easy as doing

    Code:
    docker run -v /usr/local/dash-db:/dash --name=dashd-node -d \
        -p 9999:9999 \
        -p 127.0.0.1:9998:9998 \
        dashpay/dashd
    
    Thanks for your contribution, it helped a lot :)
     
    • Like Like x 3
  5. SirHikmat

    SirHikmat Member

    Joined:
    Nov 15, 2014
    Messages:
    93
    Likes Received:
    57
    Trophy Points:
    68
    Are there any plans to create a sentinel docker container? Only small changes like this one have to be done, that this will work.