Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Lincoln6Echo on October 23, 2017, 07:06:06 PM



Title: Bitcoin Core Docker
Post by: Lincoln6Echo on October 23, 2017, 07:06:06 PM
Hi guys,

currently I am evaluating whether it makes sense to run Bitcoin Core on a synology NAS device such as this one:
https://www.synology.com/en-global/products/DS718+

It is possible to run Bitcoin Core through a Docker like this one:
https://github.com/ruimarinho/docker-bitcoin-core

However I have no experience with Docker before so I got some questions and it would be awesome if someone can help me out:

My questions are:

1. How can I verify that the Docker content is really identically to the source code?
2. Is it possible to update Bitcoin Core if needed without downloading the the whole chain again?
3. Will the performance of the NAS be sufficient to run Bitcoin Core with Docker? (Intel Celeron J3455, 4GB RAM)
4. Are there security concerns if I run Bitcoin Core on a NAS even if it runs as a seperate user?
5 Do you have any other point which have to be considered when choosing this solution?

Thank you!


Title: Re: Bitcoin Core Docker
Post by: FryBulb on October 24, 2017, 01:35:02 AM
Hi Lincoln6Echo
[1] The advantage of docker files is that they are just cookbook and with github you can read them.

Have to take the time to read them correctly but for now at first sight in these docker files the are:
  • Alpine Linux  well known light linux distribution. :)
  • Gosu, :o  unknown to me, but in Debian sid (https://packages.debian.org/sid/gosu (https://packages.debian.org/sid/gosu)) sort of sudo for docker .
  • Download bitcore @ https://bitcoin.org/bin/bitcoin-core-0.15.0.1/bitcoin-0.15.0.1-x86_64-linux-gnu.tar.gz and check it with it gpg. :)
  • The Docker container listens on ports 8332 8333 18332 18333 18444 at runtime

It remains to verify and test more deeply, but it's a very good start.


Title: Re: Bitcoin Core Docker
Post by: FryBulb on October 24, 2017, 02:35:22 PM
4. Are there security concerns if I run Bitcoin Core on a NAS even if it runs as a seperate user?

Probably no, docker container is made for this. If it's possible to install docker on this Nas OS, it like yous install a side by side a another Os with bitcore on it. There is no communication with the Nas software.


Title: Re: Bitcoin Core Docker
Post by: FryBulb on October 24, 2017, 02:43:19 PM
5 Do you have any other point which have to be considered when choosing this solution?
Thank you!

If you have full acces with the OS Nas and dont need the Nas application better to clean all and have only bitcore-core on it.


Title: Re: Bitcoin Core Docker
Post by: jackg on October 24, 2017, 03:00:32 PM
Hi guys,

currently I am evaluating whether it makes sense to run Bitcoin Core on a synology NAS device such as this one:
https://www.synology.com/en-global/products/DS718+

It is possible to run Bitcoin Core through a Docker like this one:
https://github.com/ruimarinho/docker-bitcoin-core

However I have no experience with Docker before so I got some questions and it would be awesome if someone can help me out:

My questions are:

1. How can I verify that the Docker content is really identically to the source code?
2. Is it possible to update Bitcoin Core if needed without downloading the the whole chain again?
3. Will the performance of the NAS be sufficient to run Bitcoin Core with Docker? (Intel Celeron J3455, 4GB RAM)
4. Are there security concerns if I run Bitcoin Core on a NAS even if it runs as a seperate user?
5 Do you have any other point which have to be considered when choosing this solution?

Thank you!


As stated above it should be good enough providing you have full access to the operating system. Although im not sure of the speed of that type of cpu but I think most nas drives have 1GHz minimum.
There shouldn't be any security issues different to those on a computer. Especially considering you can't easily accidentally install something on it as it's Linux.

Finally, you should be able just to install the new version of the core straight onto the nas. Some SSH/remote desktop services may be required unless the NAS drive has VGA/HDMI output.


Title: Re: Bitcoin Core Docker
Post by: Lincoln6Echo on October 24, 2017, 06:52:41 PM
4. Are there security concerns if I run Bitcoin Core on a NAS even if it runs as a seperate user?

Probably no, docker container is made for this. If it's possible to install docker on this Nas OS, it like yous install a side by side a another Os with bitcore on it. There is no communication with the Nas software.

Ah nice! Thanks@ all for the replies so far. The Synology NAS OS doesn't allow root access so I think Docker is a good solution in this case. Would create a new user account only for bitcoin core/ docker.