mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ezra Silvera" <>
Subject Review Request 42516: Add support for user-defined networks.
Date Tue, 19 Jan 2016 18:53:00 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos and TimothyIL TimothyIL.

Bugs: MESOS-4369

Repository: mesos


Since docker 1.9, Docker now supports user-defined networks (both local and overlays). The
user can then create containers that need to be attached to these networks (e.g., docker run
In order to support user-defined network we need to make 2 changes:
1a) Add a new network type in mesos.proto so that frameworks will be able to pass this network
1b) Add a field to add the actual network name. Till now this was not needed as users could
not define their i own names.
2) Change the executer so it supports processing port mapping also for user-define network
(instead of just for legacy bridge)

Note that using the new user-defined network (both local and overlay) is considered the prefered
Docker networking option.

Signed-off-by: Ezra Silvera <>


  include/mesos/mesos.proto 0be4bed336e86a5c377e87ac6212c70ac3b4c66b 
  include/mesos/v1/mesos.proto c3244e87f9351c71312d2eace7a49bcac926fafd 
  src/docker/docker.cpp 4d2f1fa14f4450b8fa3401081bf52807d2e79a7e 



Using Swarm running on Mesos create a network with "docker  network create --driver=bridge
myNetwork"   and then create a container on that network:  "docker run --net=myNetwork...."


Ezra Silvera

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message