Go to the docker settings delete the endtry UDP and click "Add another Path, Port, Variable, Label or Device" create the a port with the name UDP, at the container port type in the preffered port and on the gost port the same as the container port, dont forget to change the protocol type to udp at last click the "Show more settings..." and change the port to the port you set above.
There is sadly no better way to do this...