Closed anhcuong closed 8 years ago
The container image is fetched by the Mesos Agent, please report this on the Mesos JIRA.
Where can I get help with this issue, please?
https://groups.google.com/forum/#!topic/marathon-framework/pKSPbEQmuyo
Summary. Marathon is asked to launch a docker Image. Credentials are properly supplied (uris field taregets an external api that supplies creds and/or looks up a local file.) Mesos Sandbox for Mesos Agent downloads credentials and stores in sandbox.
If the docker hub image is private and new to Marathon, it errors out. Same if it previously was cached and forceload=true is set on the marathon api call. Error is that Mesos Agent cannot find that docker image when private. Creds are what is returned when ssh to marathon host and then login to docker creates in HOME/.docker.
Marathon Version 1.1.1 (as deployed by rancher catalog -Rancher v 1.41) Docker Version 1.12.6 Mesos Version 0.28.1 (as deployed by rancher catalog -Rancher v 1.41) Ubuntu Version 16.04.01 LTS
Where can I get help for this? Its an issue between docker hub and Mesos Agent. I believe I am handling the creds in marathon properly. Need help troubleshooting. Details thread at link:
https://groups.google.com/forum/#!topic/marathon-framework/pKSPbEQmuyo
Thank you :)
Hi guys,
I am trying to run chronos using chronos docker image on dockerhub. The configuration for marathon is simple and I dont think it is a problem.
However, I noticed that I cannot pull the docker image if I run the application from marathon. But from
docker pull
command, of course I can pull.Below is the docker log I receive when running from marathon:
The funny thing is that marathon can finally pull the image after a while (Sometimes 30 mins, sometimes 1 hour, ... and I am not sure about this )
It happened for me a few times when I tried to pull new docker image from my private docker registry and aws ecr then I blamed the registry for this. But today I give a try on Dockerhub and it happened.
PS: I am running mesos: 0.28.1-2.0.20.ubuntu1404 on dockerhub and marathon: v1.1.1 on dockerhub.