[SOLVED] Building Caddy with caddy-docker-proxy, caddy-dns/cloudflare

The missing piece in your Dockerfile is that you need to override the default command for the Caddy image with the command used to run docker-proxy.

The CDP plugin adds a caddy docker-proxy command, so you need to add this to the end of your Dockerfile:

CMD ["caddy", "docker-proxy"]
2 Likes