For example in my config if I have:
"ExposedPorts": {
"20000/udp": {}
},
The launched container is given the following flags:
$ docker run --rm -d -p 20000:20000 <redacted image>
It should be:
$ docker run --rm -d -p 20000:20000/udp <redacted image>
I think it's just a bug with vscode parsing the config and not knowing to correctly add /udp when it's a udp service.
If I'm doing something wrong myself please do let me know.