ElementsProject / ElementsProject/lightning-charge
Unable to run Docker with existing bitcoind/lightningd
- Dominant language
- JavaScript
- Stars
- 558
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
as running lightning-charge directly doesn't work for me (see https://github.com/ElementsProject/lightning-charge/issues/86), I tried to run it via Docker. My existing c-lightning lives in /root/.lightning and Bitcoin in /var/lib/bitcoin on the same server, so I guess I have to run it like this:
> root@server:~/lightning-charge# docker run -it -u `id -u` -v /root/.lightning:/data/lightning -v /var/lib/bitcoin:/data/bitcoin -p 9112:9112 shesek/lightning-charge --api-token MySecretToken
This just gives me this error, does it try to start an additional bitcoind, so it is not possible to run lightning-charge Docker with an bitcoind running outside of the Docker, it has to start it itself?
> Starting bitcoind... waiting for RPC... Error: Config setting for -addnode only applied on test network when in [test] section.`
Inside of the container I can see that my existing bitcoind and c-lightning directories are available at /data/bitcoin and /data/lightning.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.