You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2017/03/31 19:48:09 UTC
[1/2] mesos git commit: Updated the container image doc about Docker
networking support.
Repository: mesos
Updated Branches:
refs/heads/master cf25ea38f -> 6ce7c197d
Updated the container image doc about Docker networking support.
Review: https://reviews.apache.org/r/58118
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6ce7c197
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6ce7c197
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6ce7c197
Branch: refs/heads/master
Commit: 6ce7c197d7cb4ae76e480c46663a0e7d209ea2aa
Parents: a9a754e
Author: Jie Yu <yu...@gmail.com>
Authored: Fri Mar 31 12:09:45 2017 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Fri Mar 31 12:48:16 2017 -0700
----------------------------------------------------------------------
docs/container-image.md | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/6ce7c197/docs/container-image.md
----------------------------------------------------------------------
diff --git a/docs/container-image.md b/docs/container-image.md
index b17739d..87a4fe0 100644
--- a/docs/container-image.md
+++ b/docs/container-image.md
@@ -238,9 +238,14 @@ the framework can limit the
of the container by using the
[linux/capabilities](linux_capabilities.md) isolator.
-Only host network is supported. We will add bridge network support
-soon using CNI support in Mesos
-([MESOS-4641](https://issues.apache.org/jira/browse/MESOS-4641)).
+Currently, we support `host`, `bridge` and user defined networks
+([reference](https://docs.docker.com/engine/userguide/networking/)).
+`none` is not supported yet. We support the above networking modes in
+Mesos Containerizer (mesos-containerizer.md) using the
+[CNI](https://github.com/containernetworking/cni) (Container Network
+Interface) standard. Please refer to the [network/cni](cni.md)
+isolator document for more details about how to configure the network
+for the container.
### More agent flags
[2/2] mesos git commit: Updated the container image doc about the
support of capabilities.
Posted by ji...@apache.org.
Updated the container image doc about the support of capabilities.
Review: https://reviews.apache.org/r/58117
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a9a754e4
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a9a754e4
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a9a754e4
Branch: refs/heads/master
Commit: a9a754e46d693d06879c4100461d1004e92c2a2d
Parents: cf25ea3
Author: Jie Yu <yu...@gmail.com>
Authored: Fri Mar 31 11:49:57 2017 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Fri Mar 31 12:48:16 2017 -0700
----------------------------------------------------------------------
docs/container-image.md | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/a9a754e4/docs/container-image.md
----------------------------------------------------------------------
diff --git a/docs/container-image.md b/docs/container-image.md
index fc9e4a6..b17739d 100644
--- a/docs/container-image.md
+++ b/docs/container-image.md
@@ -231,8 +231,12 @@ of the Docker image.
If the `--switch_user` flag is set on the agent and the framework
specifies a user (either `CommandInfo.user` or `FrameworkInfo.user`),
we expect that user exists in the container image and its uid and gids
-matches that on the host. User namespace and capabilities are not
-supported yet.
+matches that on the host. User namespace is not supported yet. If the
+user is not specified, `root` will be used by default. The operator or
+the framework can limit the
+[capabilities](http://man7.org/linux/man-pages/man7/capabilities.7.html)
+of the container by using the
+[linux/capabilities](linux_capabilities.md) isolator.
Only host network is supported. We will add bridge network support
soon using CNI support in Mesos