polar: Bug: 'Unable to connect to terminal'

Describe the bug

When attempting to launch the built-in Lightning node terminal within Polar, an error message is displayed:

Unable to connect to terminal
Docker container 'polar-n2-alice' not found

To Reproduce

Steps to reproduce the behavior:

  1. Open Polar
  2. Start network (in my case, two LND nodes)
  3. Click on a Lightning node (in my case, an LND node called ‘alice’)
  4. Click on Actions
  5. Under the section Terminal, click Launch.

Expected behavior

The Polar Terminal should launch and provide the ability to run commands on the node.

Actual behavior

The Polar Terminal launches and shows the error listed above.

Screenshots

Screenshot from 2022-12-11 11-12-25

Desktop (please complete the following information):

  • OS: Fedora 37
  • Polar Version: 1.4.0
  • Docker Version: 20.10.21
  • Docker Compose Version: 2.12.2

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 29 (9 by maintainers)

Most upvoted comments

Appreciate the follow-up. That is good information. I ended up getting an Ubuntu machine setup running on native hardware in order to test Docker Desktop. The new file sharing mechanism is pretty complex and I haven’t gotten Polar working with it just yet. So for the time being, Docker Desktop isn’t supported. I will continue trying to find a solution.

d Docker Desktop completely, and I am using Docker engine

How did you get Polar to use Docker engined vs Docker desktop after removing docker desktop?

Here is the answer:

The issue is that during the installation a wrong entry in ~/.docker/config.json was created.

Namely credsStore instead of credStore.

Just change the entry in ~/.docker/config.json like this, and you’re good to go:

{ “stackOrchestrator” : “swarm”, “experimental” : “disabled”, “credStore” : “desktop” }