caddy-docker-proxy icon indicating copy to clipboard operation
caddy-docker-proxy copied to clipboard

Docker v26 support (TLS mandatory now)

Open gabrielmocan opened this issue 1 year ago • 2 comments

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?

gabrielmocan avatar Mar 25 '24 14:03 gabrielmocan

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

francislavoie avatar Mar 25 '24 15:03 francislavoie

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.

hongkongkiwi avatar May 11 '24 07:05 hongkongkiwi