How run lncli in ubrel device

How can I run lncli ?
umbrel@umbrel:~/umbrel/bin$ ./lncli pendingchannels

*** Deprecation notice ***
In a future version of Umbrel, ‘lncli’ will be removed.

Please instead use:
./scripts/app compose lightning exec lnd lncli

ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running?

If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

I use the app Lightning Shell for lncli commands.

2 Likes

docker exec lightning_lnd_1 lncli COMMANDS

1 Like

Lightning Shell app has been deprecated and therefore will no longer receive any app updates.