romeujr/bitcoin-core

By romeujr

Updated 9 days ago

This image offers a convenient and quick way to run Bitcoin Core in a Docker Container.

Image
Networking
Security
Databases & storage
4

10K+

romeujr/bitcoin-core repository overview

Just try:

docker run \
    <YOUR DOCKER OPTIONS> \
    -v <HOST_DATA_DIRECTORY>:/home/bitcoin/.bitcoin \
    romeujr/bitcoin-core \
    <YOUR BITCOIN CORE OPTIONS>

Example:

docker run \
    -d --rm -p 8332:8332 -p 8333:8333 \
    -v /mnt/storage/docker/bitcoin/data:/home/bitcoin/.bitcoin \
    romeujr/bitcoin-core \
    -rpcuser=user123 -rpcpassword=password123 -rpcbind=0.0.0.0 -rpcallowip=0.0.0.0/0

Optional environment variables - can be specified using the "-e" flag in the "docker run" command:

  • B_UID: UID (linux user id) to be used by bitcoin user;
  • B_GID: GID (linux group ip) to be used by bitcoin user;

The variables mentioned above are helpful if your Bitcoin data is located in a partition with special permissions, such as when using SELinux or AppArmor.


Docker run options.

Bitcoin Core options.

Bitcoin Core release notes.

Docker image build scripts.

Tag summary

Content type

Image

Digest

sha256:4c87ea0c0

Size

118.2 MB

Last updated

9 days ago

docker pull romeujr/bitcoin-core