[ 
https://issues.apache.org/jira/browse/MESOS-7238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925525#comment-15925525
 ] 

Kaiyu Shi commented on MESOS-7238:
----------------------------------

I found on the blog of 
Docker(https://blog.docker.com/2015/10/registry-proxy-cache-docker-open-source/)
 that the mirror can be used just like private docker registry with curl:
{quote}
curl https://mycache.example.com:5000/v2/library/busybox/tags/list
{quote}

So I can simply add the mirror address as the prefix of official image name 
like:
****.mirror.aliyuncs.com/zhoumingjun/pytorch:latest-cuda8-py3
Maybe we need to update the documentation of the image provider part?

> Add Docker mirror support
> -------------------------
>
>                 Key: MESOS-7238
>                 URL: https://issues.apache.org/jira/browse/MESOS-7238
>             Project: Mesos
>          Issue Type: Improvement
>          Components: docker
>         Environment: Ubuntu 16.04 LTS
> docker: 17.03.0-ce
>            Reporter: Kaiyu Shi
>            Priority: Minor
>              Labels: easyfix, image
>
> I'm in China, for some policy reasons the connection to docker registry is 
> often reset by our firewall. I have to use a mirror of docker hub to speedup. 
> But when I use mesos containerizer with docker as image provider, it directly 
> curl docker's registry, and failed. So maybe the image pulling should try 
> getting the info of my docker's mirror setting.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to