This is an automated email from the ASF dual-hosted git repository. qianzhang pushed a commit to branch 1.5.x in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 0a5e6f639cbc8c1fd0aafb430a3aeebe8c4765fb Author: Liangyu Zhao <[email protected]> AuthorDate: 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(+) diff --git a/src/uri/fetchers/docker.cpp b/src/uri/fetchers/docker.cpp index 07b2947..e1b6100 100644 --- a/src/uri/fetchers/docker.cpp +++ b/src/uri/fetchers/docker.cpp @@ -751,6 +751,11 @@ Future<Nothing> DockerFetcherPluginProcess::__fetch( // https://docs.docker.com/registry/spec/manifest-v2-2/ // // If fetch is failed, program continues without schema 2 manifest. + // + // Schema 2 manifest may have foreign URLs to fetch blobs from servers + // other than Docker Hub. Some file layers, for example, Windows OS + // layers are only stored on Microsoft servers, so only with schema 2 + // manifest, such layers can be successfully fetched. http::Headers s2ManifestHeaders = { {"Accept", "application/vnd.docker.distribution.manifest.v2+json"} };
