[
https://issues.apache.org/jira/browse/MESOS-4820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Artem Harutyunyan updated MESOS-4820:
-------------------------------------
Sprint: Mesosphere Sprint 30, Mesosphere Sprint 31, Mesosphere Sprint 32
(was: Mesosphere Sprint 30, Mesosphere Sprint 31)
> Need to set `EXPOSED` ports from docker images into `ContainerConfig`
> ---------------------------------------------------------------------
>
> Key: MESOS-4820
> URL: https://issues.apache.org/jira/browse/MESOS-4820
> Project: Mesos
> Issue Type: Task
> Components: containerization
> Reporter: Avinash Sridharan
> Assignee: Avinash Sridharan
> Priority: Critical
> Labels: mesosphere
>
> Most docker images have an `EXPOSE` command associated with them. This tells
> the container run-time the TCP ports that the micro-service "wishes" to
> expose to the outside world.
> With the `Unified containerizer` project since `MesosContainerizer` is going
> to natively support docker images it is imperative that the Mesos container
> run time have a mechanism to expose ports listed in a Docker image. The first
> step to achieve this is to extract this information from the `Docker` image
> and set in the `ContainerConfig` . The `ContainerConfig` can then be used to
> pass this information to any isolator (for e.g. `network/cni` isolator) that
> will install port forwarding rules to expose the desired ports.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)