Bitcoin Forum
April 02, 2026, 11:02:48 AM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to dockerize bitcoind and lnd  (Read 90 times)
kryptonoid (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
February 25, 2025, 01:55:11 PM
 #1

Hi guys

currently I have bitcoind running on my Linux machine.
Now I want to create a docker container with bitcoind and lnd that uses the datadir of my current bitcoind.
Does someone can recommend me a documentation or a docker-compse file and an Image that works?
adaniremre
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 26, 2025, 08:34:47 AM
 #2

Hello, these might work for you:

For bitcoind: ruimarinho/bitcoin-core
For LND: lightninglabs/lnd
ABCbits
Legendary
*
Offline Offline

Activity: 3570
Merit: 9882



View Profile
February 26, 2025, 10:37:02 AM
 #3

Lightning Labs actually provide Docker compose file which contains both LND and Bitcoin Core at once[1]. You just need to edit the mounting configuration under "volumes".

Code:
# https://github.com/lightningnetwork/lnd/blob/master/docker/docker-compose-bitcoind.yml#L6C1-L12C24
    bitcoind:
      image: bitcoind
      container_name: bitcoind
      build:
        context: bitcoind/
      volumes:
        - bitcoin:/data

AFAIK most docker package either single application or base OS.

Hello, these might work for you:

For bitcoind: ruimarinho/bitcoin-core
For LND: lightninglabs/lnd

I don't think it's good idea to recommend unofficial Docker for Bitcoin Core that last updated 2 years ago[1]

[1] https://github.com/lightningnetwork/lnd/blob/master/docker/docker-compose-bitcoind.yml
[2] https://hub.docker.com/r/ruimarinho/bitcoin-core/

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!