Re: Can't start docker container when SSL_ENABLED is on.

2015-11-01 Thread haosdent
Hi, @Xiaodong I could reproduce your problem in my testing today. A quickly workaround is adding environment variables when you launch slave. ``` ./bin/mesos-slave.sh --containerizers=docker,mesos --executor_environment_variables='{"SSL_KEY_FILE": "/tmp/server.key", "SSL_CERT_FILE":

Re: How to tell master which ip to connect.

2015-11-01 Thread haosdent
Hi, @Xiaodong I think ssl + register auth is enough, I don't think you need worried about that. Let me also attach some other mesos documents except ssl relate to security. authentication: https://github.com/apache/mesos/blob/master/docs/authorization.md authentication:

Re: Can't start docker container when SSL_ENABLED is on.

2015-11-01 Thread haosdent
@Xiaodong I create a ticket to trace this https://issues.apache.org/jira/browse/MESOS-3815 and post a patch in it. Feel free to review and test it together. Thank you! On Sun, Nov 1, 2015 at 4:54 PM, haosdent wrote: > Hi, @Xiaodong I could reproduce your problem in my

Re: Can't start docker container when SSL_ENABLED is on.

2015-11-01 Thread Xiaodong Zhang
Thanks@haosdent I will test the command line arguments and then test patch. Have a nice day!~~ 发件人: haosdent > 答复: "user@mesos.apache.org" > 日期: 2015年11月1日 星期日 下午5:40

how to use agent config: docker_mesos_image better? or is it deprecated?

2015-11-01 Thread zhou weitao
Hi, there, I got this config docker_mesos_image=VALUE with the following description: The docker image used to launch this mesos slave instance. If an image is specified, the docker containerizer assumes the slave is running in a docker container, and launches executors with docker containers in