DockStation / dockstation

DockStation is developer-centric application to managing projects based on Docker. Instead of lots of CLI commands you can monitor, configure, and manage services and containers using just a GUI.
https://dockstation.io/
2.15k stars 107 forks source link

[stdout]: /bin/sh: 1: docker: not found #265

Open Kila14 opened 3 years ago

Kila14 commented 3 years ago

Hello. I have a problem with connecting to remote server with docker:

Failed to fetch container logs: 
Command failed: docker -H tcp://127.0.0.1:3500 logs 17990c6f101826694b15e539ada41164436f9c097b0a51a9171176935d2b8b81 --tail=500 2>&1

[stdout]: /bin/sh: 1: docker: not found

I'm successfully connecting to remote server with ssh. I can see all containers. But there is error in field "Logs" and nothing to do.

Selectr0n commented 3 years ago

I have the same issue.

digidomic commented 3 years ago

same here

MartySkinner commented 3 years ago

Having had the same issue myself, I have tracked it down to the fact that the embedded app.asar has a hardcoded path to the docker executable of /usr/bin/docker. docker on Mac isn't (and cannot be) in /usr/bin so the docker command is never found. The same could be true for other docker installations aside from on a Mac.

The path to docker (at a minimum) would need to be configurable at the connection level to get around this.

jmerhar commented 1 year ago

I have the same issue while connecting to a Linux server from a Mac. Is there a workaround?