Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run Docker with existing bitcoind/lightningd #87

Open
freerko opened this issue Feb 20, 2022 · 0 comments
Open

Unable to run Docker with existing bitcoind/lightningd #87

freerko opened this issue Feb 20, 2022 · 0 comments

Comments

@freerko
Copy link

freerko commented Feb 20, 2022

Hi,

as running lightning-charge directly doesn't work for me (see #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant