C-Lightning LN node used in Cyphernode
50K+
Log in and:
sudo useradd lnuser
mkdir -m 2770 -p ~/lndata
cp config ~/lndata
sudo chown -R lnuser:`id -gn` ~/lndata
sudo find ~/lndata -type f -exec chmod g+rw {} \; ; sudo find ~/lndata -type d -exec chmod g+rwx {} \;
(replacing btcnode with Bitcoin node IP/name and rpcusername/rpcpassword with RPC username/password)
rpcconnect=btcnode
rpcuser=rpcusername
rpcpassword=rpcpassword
testnet=1
rpcwallet=ln01.dat
alias=SatoshiPortal01
rgb=008000
#port=9735
network=testnet
docker build -t clnimg -f Dockerfile.arm32v6 .
docker build -t clnimg -f Dockerfile.amd64 .
docker run -d --rm --name cln -p 9735:9735 -v /home/pi/lndata:/.lightning clnimg `id -u lnuser`:`id -g lnuser` lightningd
sudo find ~/lndata -type f -exec chmod g+rw {} \; ; sudo find ~/lndata -type d -exec chmod g+rwx {} \;
docker logs -f cln
docker exec -it cln lightning-cli getinfo
docker exec -it cln lightning-cli stop
Content type
Image
Digest
sha256:5bc8c085e…
Size
290.8 MB
Last updated
about 2 years ago
docker pull cyphernode/clightning:v24.08