Hello everyone,
I am currently running Caddy as reverse proxy in docker. For streaming purposes I would like to publish port 443/udp, however, docker thinks this port is already in use because I publish port 443/tcp.
Compose ports section looks like this:
ports:
- target: 80
published: 80
protocol: tcp
mode: host
- target: 443
published: 443
protocol: tcp
mode: host
#- target: 443
# published: 443
# protocol: upd
# mode: host
- target: 2019
published: 62019
protocol: tcp
mode: host
When I uncomment the UDP port I get the following error:
Error response from daemon: rpc error: code = InvalidArgument desc = EndpointSpec: duplicate published ports provided
Is this a bug or is there another way I need to tell docker to open the port with udp and tcp?
Thanks in advance!