You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "haosdent (JIRA)" <ji...@apache.org> on 2015/11/03 05:03:27 UTC
[jira] [Commented] (MESOS-3821) DOCKER_HOST does not work well with
--executor_environment_variables
[ https://issues.apache.org/jira/browse/MESOS-3821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14986631#comment-14986631 ]
haosdent commented on MESOS-3821:
---------------------------------
yes, it would always use domain docker. Generally you could mount /var/run/docker.sock to share same docker daemon. [~tnachen] How about remove this limit in https://github.com/apache/mesos/blob/master/src/docker/docker.hpp#L169 and https://github.com/apache/mesos/blob/master/src/docker/docker.cpp#L103 So user could use tcp or fd
> DOCKER_HOST does not work well with --executor_environment_variables
> --------------------------------------------------------------------
>
> Key: MESOS-3821
> URL: https://issues.apache.org/jira/browse/MESOS-3821
> Project: Mesos
> Issue Type: Bug
> Components: docker
> Affects Versions: 0.25.0
> Environment: Docker 1.7.1
> Mesos 0.25.0
> Reporter: Lei Xu
>
> Hi guys,
> I found that DOCKER_HOST does not work now if I set
> bq. --executor_environment_variables={"DOCKER_HOST":"localhost:2377"}
> but the docker executor always append
> bq. -H unix:///var/run/docker.sock
> on each command, it will overwrite the DOCKER_HOST in fact.
> I think it is too strict now, and I could not disable it via some command flags.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)