ajayd-san / gomanagedocker

TUI tool to manage your docker images, containers and volumes 🚀
MIT License
513 stars 23 forks source link

Add non default docker daemon path support #10

Open Laur1nMartins opened 4 months ago

Laur1nMartins commented 4 months ago

Looks promising!

But is there a way to set the docker daemon path if it is non standard?

I run my docker in user mode which is why I have a different path to the daemon. With a Quick Look into the code I could not find out if it is possible to change it via the config.

I could create a pull request once I tested it and you tell me where I should change that value.

ajayd-san commented 4 months ago

Hey!

I need some more info.

By user mode, do you mean non-root mode? Or you have installed the daemon in a different path?

I tried searching up the latter but couldn't find much info about it.

Also, is this on windows ?

Spaider commented 3 months ago

Of course, I might be wrong, but it looks like the point is to support different docker contexts. That ones use see when you type docker context ls.

For now, it seems that gmd defaults to unix:///var/run/docker.sock though it may very well not be the default context.

ajayd-san commented 3 months ago

Thats valid, I could add support for custom contexts in the next release. Thanks for your input!!!

benniekiss commented 2 months ago

Allowing connections to remote sockets would also be really helpful, either over tcp or ssh. I don't know about docker, but for podman, the bindings offer a method to do remote connections

ajayd-san commented 2 months ago

@benniekiss I might be able to add that with podman support in the next release 👀