From 3ad6ff10841a1f3fedcd3d37e21fe03d37ebba7d Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 21 Jan 2021 12:24:28 +0200 Subject: [PATCH] docker: add an extra listener for localhost Make sure the lncli command can be used inside of the container without needing to specify the --rpcserver flag all the time. Issue: #4937 --- docker/lnd/start-lnd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/lnd/start-lnd.sh b/docker/lnd/start-lnd.sh index c7bfe305..17de514a 100755 --- a/docker/lnd/start-lnd.sh +++ b/docker/lnd/start-lnd.sh @@ -65,5 +65,6 @@ exec lnd \ "--$BACKEND.rpcuser"="$RPCUSER" \ "--$BACKEND.rpcpass"="$RPCPASS" \ "--rpclisten=$HOSTNAME:10009" \ + "--rpclisten=localhost:10009" \ --debuglevel="$DEBUG" \ "$@"