Hello @Omar Navarro ,
adding Container Create options is always tricky :-)
It's good to know that "HostPort" is the port the container exposes on the host. This port has to be unique on the device, only one application (or container) can 'reserve' this port number.
I recently added a custom module on GitHub exposing UDP communication:
{
"ExposedPorts": {
"11001/udp":{}
},
"HostConfig": {
"PortBindings":{
"11001/udp":[
{
"HostPort":"11001"
}
]
}
}
}
Here, the internal port number is equal to the external (host) port number.