Comments (4)
Hey there @ekkis,
This is more of a configuration issue (not directly related to this repo) but I'm happy to help:
I see a few solutions here:
- Allow the entire "172.x.x.x" range (using
-rpcallow=172.0.0.0/8
) - Specify a subnet of your choosing, as described in the documentation, then use it with the
-rpcallowip=
parameter. - Use
network_mode: "bridge"
which will make the container join the default bridge network and use the172.17.0.x
range.
Hope this helps!
from docker-bitcoin-core.
yes, you're right, it's not really a concern of this repo, so thanks for the suggestions. I need to research whether Docker creates all its networks within the 172.x range. if it does then #1 above certainly would work.
as for #2, rpcallow=
is intriguing as I don't see it documented. this is where I'm looking: https://en.bitcoin.it/wiki/Running_Bitcoin and presumably it lets me allow by network name? if that were the case that would be ideal because that I know
from docker-bitcoin-core.
rpcallow= is intriguing as I don't see it documented.
Sorry, that was a typo. In essence I was referring to setting a subnet manually, and then specifying it with -rpcallowip=
.
from docker-bitcoin-core.
Hey there @ekkis,
This is more of a configuration issue (not directly related to this repo) but I'm happy to help:
I see a few solutions here:
- Allow the entire "172.x.x.x" range (using
-rpcallow=172.0.0.0/8
)- Specify a subnet of your choosing, as described in the documentation, then use it with the
-rpcallowip=
parameter.- Use
network_mode: "bridge"
which will make the container join the default bridge network and use the172.17.0.x
range.Hope this helps!
Shouldn't it be 172.16.0.0/12?
Private_IPv4_addresses
from docker-bitcoin-core.
Related Issues (20)
- Docker hub still shows 0.20.0 HOT 1
- Specify the uid/gid of the bitcoin user with an environment variable HOT 13
- Bitcoin Core 0.21 HOT 5
- Problem during compile when running 0.2.0 Alpine Dockerfile HOT 1
- sha256sum: 'standard input': no properly formatted SHA256 checksum lines found HOT 2
- RPC won't bind on minimal docker-compose example HOT 1
- Consider switching the download links to https://bitcoincore.org HOT 2
- 0.21 unable to restart HOT 2
- Best way to upgrade image and not resync chain HOT 3
- run behind tor container. HOT 1
- 22-alpine image is missing HOT 4
- How to use prune option when using this image HOT 2
- bitcoin core v23 HOT 1
- Exposing ports example fails with 401 HOT 1
- `chmod` and exfat drives HOT 2
- Add support for Bitcoin Core v24.0 release candidates HOT 3
- No access from the host
- "/entrypoint.sh": permission denied: unknown HOT 1
- Healthcheck Container
- Push 24.1 and 25.0 tags to docker hub HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-bitcoin-core.