sergi0g / cup

The easiest way to check for your container updates
https://sergi0g.github.io/cup/docs
GNU Affero General Public License v3.0
108 stars 2 forks source link

[ SUGGESTION ] - Multiple Docker hosts #13

Open Its4Nik opened 1 month ago

Its4Nik commented 1 month ago

i would really love a feature where we can add remote docker sockets just like in dozzle if you know that.

I am not sure on how this could work because i am not a backend developer :/

This would allow user to monitor remote docker / podman sockets as well

sergi0g commented 1 month ago

Thanks for the suggestion! I'll look into it!

It may be a bit tricky to implement because of the library currently used. I might also need your help for testing.

Its4Nik commented 1 month ago

Thanks for the suggestion! I'll look into it!

It may be a bit tricky to implement because of the library currently used. I might also need your help for testing.

I can definitely help with testing, since I have like 6 Servers to try it on to really stress this tool :D

jdevera commented 3 weeks ago

Super interested in this and want to comment on a setup.

I use https://github.com/Tecnativa/docker-socket-proxy on every docker host so that I can use some tools like https://gethomepage.dev/ to report status without having write access.

I believe starting with supporting accessing docker information through the HTTP interface even if only one host is used is a great first step in the direction of supporting multiple hosts.

004a commented 3 weeks ago

As an alternative, you could take input from a yaml or toml config file with a list of the images, diun style. Then you wouldn't need access to the socket at all and could support checking for more images than what's running on the local or any connected host.