mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TianYi Zhu <>
Subject Re: Private docker registry authentication
Date Thu, 30 Apr 2015 04:00:45 GMT
Hi Christopher,

Set URI to file:///root/.dockercfg will do the trick. mesos will copy the
file to the running directory.

and --executor_registration_timeout=5mins will resolve few potential

*TianYi ZHU | ?+ Pureprofile*

Sr Software Engineer

*T:* (02) 9333 9726 *A:* Level 1, 35 Reservoir Street, Surry Hills NSW 2010 <>


You can now find the expanding Sydney team in our brand new Surry Hills
digs. If we're not in at Level 1, 35 Reservoir Street
take a peek at Single Origin Roasters across the road - we're probably
grabbing our coffee fix.


The confidential and privileged nature of any information contained in this
email, or any attachments to this email, is not waived or lost if sent to
you by mistake or technological error. If you are not the intended
recipient, immediately notify Pureprofile and delete all copies of this
email from your system. Unless otherwise indicated, this email does not
represent the opinion of Pureprofile. It is your responsibility to check
this email, including any attachments, for viruses and other defects before
opening or forwarding them to others. Please consider our environment
before printing this email.

On Thu, Apr 30, 2015 at 1:29 PM, Christopher Snell <>

> Hi All,
> I'm trying to get mesos-slave to pull images from my private docker
> registry but it's having authentication problems.  I have a .dockercfg
> generated from a successful 'docker login' but that file is not being put
> into the containers and thus, is not present with mesos-slave attempts to
> pull down a docker image.
> Here's what I've done:
> - I put a config file in /root/.dockercfg
> - This file is owned by root and mode 600
> - The HOME environment variable is set to /root when mesos-slave is
> started (as root)
> - I can log onto the slaves and manually do a 'docker login' to my private
> registry and once that's done, I can push and pull images manually from the
> CLI no problemo.
> - Docker is definitely hitting the private registry when mesos-slave
> executes the job, but the auth is not being sent and so the docker pull
> fails.
> - Here's the shell script that starts mesos-slave:
> I'm out of ideas here.  Can you help? :)
> Thanks,
> Chris

View raw message