paypal / dce-go

Docker Compose Executor to launch pod of docker containers in Apache Mesos.
Apache License 2.0
63 stars 48 forks source link

Support bridge port map replacement when a single port is defined. #6

Closed mbdas closed 7 years ago

mbdas commented 7 years ago

So, in compose ports section "portx:porty" is correctly handled and the host port replaced by the dynamic port assigned by mesos. However, if the compose file only has "porty" to specify the container port, the dynamic host port addition does not happen.