Open
Description
The cst fails in case the Dockerfile of the image under test contains EXPOSE <port>/<protocol>
form. I stumbled upon it while exposing an udp port but verified it happens even with explicitly specifying tcp protocol.
On quick search through source, seems the code only making use of the <port> part not the <protocol> part in {host,tar}_driver.go :
...
for p := range config.ExposedPorts {
// docker always appends the protocol to the port, so this is safe
ports = append(ports, strings.Split(p, "/")[0])
}
...