lucaslorentz / caddy-docker-proxy

Caddy as a reverse proxy for Docker
MIT License
3.06k stars 174 forks source link

Docker v26 support (TLS mandatory now) #600

Open gabrielmocan opened 8 months ago

gabrielmocan commented 8 months ago

As of Docker v26 release, TLS is now mandatory to connect to the docker socket.

Source: https://docs.docker.com/engine/release-notes/26.0/

Deprecate the ability to accept remote TCP connections without TLS. [Deprecation notice](https://github.com/docker/cli/tree/v26.0.0/deprecation.md#unauthenticated-tcp-connections) [docker/cli#4928](https://github.com/docker/cli/pull/4928) [moby/moby#47556](https://github.com/moby/moby/pull/47556).

Any plans to support this breaking change?

francislavoie commented 8 months ago

The vast majority of users should be using a unix socket anyway. What usecase do you see for needing to use TCP?

hongkongkiwi commented 6 months ago

The vast majority of users should be using a unix socket anyway. What usecase do you see for needing to use TCP?

Getting Caddy to populate entries from docker hosts on the local network. In theory you can use controller and server for this, but there's definitely legitimate reasons for doing this over TCP in a local lan.