Sign inSign up

dmp1ce/lnd

By dmp1ce

Updated about 3 years ago

Lightning Network Daemon

Image
0

6.1K

dmp1ce/lnd repository overview

LND Docker Images

See dmp1ce/lnd on Docker Hub for available images.

Tags

Picking the right tag

  • dmp1ce/lnd:latest: points to the latest stable release available of LND built with a Debian base.
  • dmp1ce/lnd:alpine: points to the latest stable release avilable of LND built with an Alpine base.
  • dmp1ce/lnd:<version>: based on a slim Debian image, points to a specific version branch or release.
  • dmp1ce/lnd:<version>-alpine: based on Alpine Linux, points to a specific version branch or release. Uses a simple, resource efficient Linux distribution with security in mind.

Using latest or alpine will keep LND up to date but be careful of migrations causing an issue from version to version. Use specific versions to avoid unexpected updates.

Build yourself if the latest code is needed. For example docker build --file DebianDockerfile ./. dev and dev-alpine development builds are available but not guaranteed to be the latest code.

Example Bitcoin Testnet Neutrino LND
> docker run -d\
 --name lnd-bitcoin-testnet\
 -v lnd-bitcoin-testnet-data:/home/lnd/.lnd/data/\
 -v lnd-bitcoin-testnet-logs:/home/lnd/.lnd/logs/\
 dmp1ce/lnd:latest\
  --bitcoin.active\
  --bitcoin.testnet\
  --bitcoin.node=neutrino\
  --neutrino.connect=faucet.lightning.community\
  --lnddir=/home/lnd/.lnd\
  --datadir=/home/lnd/.lnd/data\
  --tlscertpath=/home/lnd/.lnd/data/tls.cert\
  --tlskeypath=/home/lnd/.lnd/data/tls.key\
  --logdir=/home/lnd/.lnd/logs
Example CLI Usage
> docker exec -it lnd-bitcoin-testnet bash -l
>
> lncli\
 --macaroonpath=/home/lnd/.lnd/data/chain/bitcoin/testnet/admin.macaroon\
 --lnddir=/home/lnd/.lnd\
 --tlscertpath=/home/lnd/.lnd/data/tls.cert\
 --chain=bitcoin\
 --network=testnet\
 --help

Tag summary

Content type

Image

Digest

sha256:94e2581d3

Size

51.5 MB

Last updated

about 3 years ago

docker pull dmp1ce/lnd