Skip to content

Bug: terminal fails to open with LND custom node #1359

@Abdulkbk

Description

@Abdulkbk

Describe the bug
When using a custom-built LND image in a Polar network, the terminal window (launched via the "Terminal" button in the UI) opens for a fraction of a second and immediately closes. This prevents any CLI interaction with the custom node.

To Reproduce
Steps to reproduce the behavior:

  1. Build a custom LND Docker image (e.g., using a custom Dockerfile with specific user/group configurations).
  2. Add the custom image to Polar via Settings > Docker Images.
  3. Create a new network and add the custom LND node.
  4. Start the network.
  5. Click on the node and click the Terminal tab or button.
    The terminal window pops up and crashes/exits instantly.

Expected behavior
The terminal should remain open and provide a functional shell session inside the running container.

Desktop (please complete the following information):

  • OS: macOs 15.2
  • Polar Version: 4.0.0
  • Docker Version: 28.0.4
  • Docker Compose Version: 2.34.0

Additional context
I haven't tried this with other node implementations aside LND.

The Dockerfile used can be found here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions