Change DOCKER_HOST for Mesos slave

2015-08-03 Thread Andrii Loshkovskyi
Hello, I was able to change DOCKER_HOST in Mesos 0.22.1 but with upgrade to Mesos 0.23 I'm no longer able to do that. I override the systemd unit file this way: cat /etc/systemd/system/mesos-slave.service.d/docker.conf [Service] Environment="DOCKER_HOST=localhost:2377" cat /etc/mesos-slave/co

Re: Change DOCKER_HOST for Mesos slave

2015-08-03 Thread Timothy Chen
Hi Andrii, We never intend to pick up local OS environment to be passed into containerizer, as we want to make sure all environment variables are intentionally specifies from the framework for the task. Does that docker.conf setting generate a new docker.conf file or? Tim > On Aug 3, 2015,

Re: Change DOCKER_HOST for Mesos slave

2015-08-03 Thread Adam Bordelon
Andrii, you might also be interested in the new --executor_environment_variables flag on the slave. See http://mesos.apache.org/documentation/latest/configuration/ I'm not sure if this override occurs before the docker run command. On Mon, Aug 3, 2015 at 8:51 AM, Timothy Chen wrote: > Hi Andrii,

Re: Change DOCKER_HOST for Mesos slave

2015-08-05 Thread Andrii Loshkovskyi
Hello, Tim, sorry, not sure I understand. I should have mentioned that I use a Mesos package from Mesosphere. I created the drop-in snippet docker.conf to avoid editing the systemd unit file provided by the package. I checked out their package and it looks like they didn't add anything specific to