[ 
https://issues.apache.org/jira/browse/MESOS-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ezra Silvera updated MESOS-4369:
--------------------------------
    Description: 
Currently DockerContainerizer supports the following network options which are 
Docker built-in networks:
{code}
message DockerInfo {
    ...
    // Network options.
    enum Network {
      HOST = 1;
      BRIDGE = 2;
      NONE = 3;
    }
    ...
{code}
However, since docker 1.9, Docker now supports user-defined networks (both 
local and overlays) - e.g., {{docker network create --driver bridge 
my-network}},. The user can then create containers that need to be attached to 
these networks  e.g., {{docker run --net=my-network}},
We need to enhance DockerExecuter to support such network option so that the 
Docker container that can connect into such network.

  was:
Currently DockerContainerizer supports the following network options which are 
Docker built-in networks:
{code}
message DockerInfo {
    ...
    // Network options.
    enum Network {
      HOST = 1;
      BRIDGE = 2;
      NONE = 3;
    }
    ...
{code}
However, with Docker CLI, user can create a customized network, e.g., {{docker 
network create my-network}}, we need to enhance DockerContainerizer to support 
such network so that the Docker container that user creates in Mesos with 
DockerContainerizer can connect into such network.


> Enhance DockContainerizer to support Docker network created with Docker CLI
> ---------------------------------------------------------------------------
>
>                 Key: MESOS-4369
>                 URL: https://issues.apache.org/jira/browse/MESOS-4369
>             Project: Mesos
>          Issue Type: Improvement
>          Components: docker
>            Reporter: Qian Zhang
>            Assignee: Ezra Silvera
>
> Currently DockerContainerizer supports the following network options which 
> are Docker built-in networks:
> {code}
> message DockerInfo {
>     ...
>     // Network options.
>     enum Network {
>       HOST = 1;
>       BRIDGE = 2;
>       NONE = 3;
>     }
>     ...
> {code}
> However, since docker 1.9, Docker now supports user-defined networks (both 
> local and overlays) - e.g., {{docker network create --driver bridge 
> my-network}},. The user can then create containers that need to be attached 
> to these networks  e.g., {{docker run --net=my-network}},
> We need to enhance DockerExecuter to support such network option so that the 
> Docker container that can connect into such network.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to