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

Qian Zhang commented on MESOS-9159:
-----------------------------------

Backported to 1.7.x:
commit 88936159fd4700bd064d89165f192fb222361491
Author: Liangyu Zhao <t-lia...@microsoft.com>
Date:   Wed Aug 29 13:52:18 2018 -0700

    Windows: Add comment about V2S2 Docker image Manifest.
    
    Review: https://reviews.apache.org/r/68562/

 src/uri/fetchers/docker.cpp | 5 +++++
 1 file changed, 5 insertions(+)

commit b4b03371398a5f2ba33d2a141bc1aa3d1c15a4bc
Author: Liangyu Zhao <t-lia...@microsoft.com>
Date:   Wed Aug 29 11:54:47 2018 -0700

    Windows: Enabled `DockerFetcherPluginTest` suite.
    
    Enabled `Internet` test environment on Windows. Disabled `Internet`
    `HealthCheckTests` on Windows, since they require complete
    development. Modified `DockerFetcherPluginTest` to fetch
    `microsoft/nanoserver` for more extensive test for fetcher on Windows.
    
    Review: https://reviews.apache.org/r/67930/

 src/tests/environment.cpp        |  5 ++++-
 src/tests/health_check_tests.cpp | 10 ++++++----
 src/tests/uri_fetcher_tests.cpp  | 81 
++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------
 3 files changed, 62 insertions(+), 34 deletions(-)

commit 5699a39607a64e58fa8074a786b180d052904096
Author: Liangyu Zhao <t-lia...@microsoft.com>
Date:   Wed Aug 29 11:54:25 2018 -0700

    Windows: Enable DockerFetcher in Windows agent.
    
    Review: https://reviews.apache.org/r/68455/
 src/CMakeLists.txt                              | 15 +++++----------
 src/slave/containerizer/mesos/containerizer.cpp |  2 ++
 src/uri/fetcher.cpp                             |  3 ---
 src/uri/fetcher.hpp                             |  5 -----
 4 files changed, 7 insertions(+), 18 deletions(-)

commit 53979cc77878b546d2fa248b0a71af7beb593094
Author: Liangyu Zhao <t-lia...@microsoft.com>
Date:   Tue Aug 28 17:08:59 2018 -0700

    Windows: Fetch blobs with V2S2 Docker image manifest.
    
    DockerFetcher now fetches both V2S1 and V2S2 manifests to save on
    disk when agent is running on Windows. Linux part of the code in
    agent is unchanged. In addition to fetching from DockerHub,
    DockerFetcher now supports fetching from foreign URLs provided in
    V2S2 Docker image manifest.
    
    Review: https://reviews.apache.org/r/68454/

 src/uri/fetchers/docker.cpp | 364 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------
 src/uri/fetchers/docker.hpp |   4 ++
 2 files changed, 319 insertions(+), 49 deletions(-)

commit ee22ae2bc82786ec5a025ac389b4e608e16d7d16
Author: Liangyu Zhao <t-lia...@microsoft.com>
Date:   Tue Aug 28 13:32:17 2018 -0700

    Windows: Parse version 2 schema 2 Docker image manifest.
    
    Added support to parse V2S2 Docker image manifest
    (https://docs.docker.com/registry/spec/manifest-v2-2/). Adopted the
    validation code from patch 53850.
    
    Review: https://reviews.apache.org/r/68451/
 include/mesos/docker/spec.hpp                 |  18 ++++++++++++++++++
 include/mesos/docker/v2_2.hpp                 |  23 +++++++++++++++++++++++
 include/mesos/docker/v2_2.proto               |  45 
+++++++++++++++++++++++++++++++++++++++++++++
 src/CMakeLists.txt                            |   1 +
 src/Makefile.am                               |  11 +++++++++--
 src/docker/spec.cpp                           |  66 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/tests/CMakeLists.txt                      |   2 +-
 src/tests/containerizer/docker_spec_tests.cpp | 121 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 284 insertions(+), 3 deletions(-)

commit 9abc873d2928119e44234ad57549d8aa0b4d5f14
Author: Liangyu Zhao <t-lia...@microsoft.com>
Date:   Tue Aug 28 13:30:42 2018 -0700

    Windows: Update curl version to 7.61.0.
    
    A bug is encountered in version 7.57.0, and is fixed in 7.61.0.
    
    Review: https://reviews.apache.org/r/68450/

 3rdparty/CMakeLists.txt       | 4 ++--
 3rdparty/cmake/Versions.cmake | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

> Support Foreign URLs in docker registry puller
> ----------------------------------------------
>
>                 Key: MESOS-9159
>                 URL: https://issues.apache.org/jira/browse/MESOS-9159
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Akash Gupta
>            Assignee: Liangyu Zhao
>            Priority: Major
>             Fix For: 1.4.4, 1.5.4, 1.6.3, 1.7.3, 1.8.0
>
>
> Currently, trying to pull the layers of a Windows image with the current 
> registry pull code will return a 404 error. This is because the Windows 
> docker images need to pull the base OS layers from the foreign URLs field in 
> the version 2 schema 2 docker manifest. As a result, the register puller 
> needs to be aware of version 2 schema 2 and the foreign urls field.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to