jamesob / docker-bitcoind Goto Github PK
View Code? Open in Web Editor NEWA configurable docker image for bitcoind
A configurable docker image for bitcoind
As per the title. This leaks RPC credentials.
Add a chmod 600 "${BITCOIN_CONF}"
right after this line:
docker-bitcoind/bin/docker_entrypoint.sh
Line 60 in 1e04638
why don't you use --restart unless-stopped in docker-run? Then no start scripts are necessary
I know very little about docker, so please forgive me if I'm confused. The README suggests starting with the following parameter:
-p 8332:8332 \
This Docker manual says that will bind bitcoind's RPC port to the host systems port 8332 listening on all interfaces. Since RPC is unencrypted by default (even the authentication), it would probably be better to bind to just localhost. The above page suggests that could be done with:
-p 127.0.0.1:8332:8332
Note, this issue with Docker was first described here: https://twitter.com/LaurentMT/status/1067796761161490432
sgerrand/alpine-pkg-glibc@6dffcfc
change to this:
&& wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
Needs version bump, thx
Hi, not to make this political but could this repository be Bitcoin Classic by default? I can create a branch with a pull request if it'dmake things easier for you. Thank you.
0.20.1
docker run --name bitcoind -d --restart=always --env 'BTC_RPCUSER=____' --env 'BTC_RPCPASSWORD=____' --env 'BTC_TXINDEX=1' --volume /home/bitcoin:/bitcoin/data --log-opt max-
size=1m --log-opt max-file=5 -p 8332:8332 --publish 8333:8333 jamesob/bitcoind
# Workaround to address https://github.com/jamesob/docker-bitcoind/pull/16 while
# still not running as root user.
COPY ./bin/append-to-hosts.sh /usr/bin/append-to-hosts
RUN chmod +x /usr/bin/append-to-hosts
This file is absent from the repository, causing docker build to give up at that point.
I get a disk full error, but my disk is around 250Gb. It's a brand new laptop with only on big partition.
2018-02-22 23:08:38 Pre-allocating up to position 0xb00000 in rev00404.dat
2018-02-22 23:08:38 UpdateTip: new best=000000000000000005257f546f53d5fc6c80ed1046983d7d42905be647802f5d height=390486 version=0x00000004 log2_work=83.810245 tx=100397233 date='2015-12-27 14:32:05' progress=0.336760 cache=336.3MiB(2199420txo)
2018-02-22 23:08:38 UpdateTip: new best=000000000000000005873453485af6c31df6f9105912db8d621895715932addc height=390487 version=0x00000004 log2_work=83.810279 tx=100398187 date='2015-12-27 14:39:31' progress=0.336763 cache=336.0MiB(2196630txo)
2018-02-22 23:08:39 *** Disk space is low!
2018-02-22 23:08:39 Error: Error: Disk space is low!
2018-02-22 23:08:39 ERROR: AcceptBlock(): FindBlockPos failed
2018-02-22 23:08:39 ERROR: ProcessNewBlock: AcceptBlock FAILED
Error: Error: Disk space is low!
2018-02-22 23:08:39 tor: Thread interrupt
2018-02-22 23:08:39 scheduler thread interrupt
2018-02-22 23:08:39 addcon thread exit
2018-02-22 23:08:39 opencon thread exit
2018-02-22 23:08:39 Shutdown: In progress...
2018-02-22 23:08:39 torcontrol thread exit
2018-02-22 23:08:39 msghand thread exit
2018-02-22 23:08:39 net thread exit
2018-02-22 23:08:39 Dumped mempool: 6e-06s to copy, 0.001795s to dump
Error: Error: Disk space is low!
2018-02-22 23:08:39 *** Disk space is low!
2018-02-22 23:08:39 Error: Error: Disk space is low!
2018-02-22 23:08:39 *** Disk space is low!
2018-02-22 23:08:39 Error: Error: Disk space is low!
Error: Error: Disk space is low!
2018-02-22 23:08:41 Shutdown: done
I stop the container and then bitcoin-core let me to use -reindex to build UTXOs. But I can't.
I'm a newbie to Docker.
Thank you very much.
Assuming that https://hub.docker.com/r/jamesob/bitcoind corresponds to this repo, the page could backlink to the source on GitHub?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.