In docker-compose.yml it's possible to expose ports such as
In jet I get:
strconv.ParseInt: parsing "8125/udp": invalid syntax
So you seem to be splitting on the
: and doing a
ParseInt and I think that's going to break for some of the other port formats docker supports too, such as port ranges:
/udp syntax has been in docker since 2014 (http://stackoverflow.com/a/27596415/202168) so I think it's not a compose v2 feature.