jesseduffield/lazydocker

Lazydocker could do automatic docker host discovery on startup

blitzarx1 opened this issue · 2 comments

Follow up on this 2 issues:
#422
#311

This is to start a discussion on whether lazydocker should support automatic docker host discovery.

The main pro for me is that when I run colima and then docker ps it works fine without extra tuning. But when I start lazydocker right after it fails. This can be confusing for people new to docker or unix systems in general. They picked lazydocker as an alternative to raw commands in console but face situation when raw commands are actually friendly (speaking solely of this case) because they can identify under the hood which docker host is used, but lazydocker cant.

So the proposal is to think about adding automatic docker host discovery on start up or add at least more info in the project docs or troubleshooting page.

PS: As colima gains its popularity this is going to become a common issue or stumbling stone on the very first run, which is not good for the project.

#464 implements docker host "discovery" on startup.

If you using only colima in your OS, you must running command for create link do colima/docker.sock for default docker.sock

You try running command: sudo ln -f -s ~/.colima/default/docker.sock /var/run/docker.sock?