nautical-backup icon indicating copy to clipboard operation
nautical-backup copied to clipboard

Support for Docker Socket Proxy

Open legacy3 opened this issue 1 year ago • 2 comments

Hey there,

Really enjoying nautical backup — awesome work! I was wondering if it could be configured to support Docker socket proxies by using the DOCKER_HOST environment variable. This change would help point the Docker API interactions to a proxy instead of directly accessing /var/run/docker.sock.

Quick suggestions for this:

  • Could be cool to adapt the tool to use Docker client libraries that recognize DOCKER_HOST.
  • Maybe a quick test with tools like docker-proxy or socat to check compatibility?

Documentation: If this is already possible, adding a note in the docs would be super helpful. If not, it might be a useful feature to include in future updates.

Thanks for considering this!

Cheers,

legacy3 avatar May 05 '24 13:05 legacy3

Thanks for the suggestion. I don't think this is possible yet--or atleast I haven't tried it.

I'll do some digging to see how I can add this.

Minituff avatar May 05 '24 16:05 Minituff

Would you want to use something like this: https://docs.linuxserver.io/images/docker-socket-proxy or https://github.com/Tecnativa/docker-socket-proxy ??

Minituff avatar Jul 28 '24 00:07 Minituff

Update on this. I tested out https://github.com/Tecnativa/docker-socket-proxy. It seems to be working and I will add this feature to the next release (v3.0)

Minituff avatar Oct 14 '24 18:10 Minituff

Thank you 🙂

racefoxx avatar Oct 19 '24 08:10 racefoxx