andreaspeters opened a new pull request, #583:
URL: https://github.com/apache/mesos/pull/583

   Short:
   
   With these PR I want to add support for custom docker networks created by 
`docker network ...`
   
   Long:
   
   The Mesos DockerInfo Network object only supports four network modes: 
BRIDGE, HOST, USER, and NONE. If we want to use a network created by the Docker 
command docker network create ..., we cannot use the network mode. In that 
case, we have to add the DockerInfo parameter. The problem is, if we do not add 
a DockerInfo network mode, then the Docker executor will add a default one 
(Lines 839, 841). This means the Docker executor will try to run the container 
with two network parameters. Newer Docker engines do not accept this. To 
address this, my idea is to only add a default network mode if DockerInfo has 
no network and also no network parameter.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to