profile
viewpoint

Ask questionsSupport schema1 push for quay?

Astonishingly Quay.io still does not support schema2: https://github.com/bazelbuild/rules_docker/issues/102

DEBU[0011] do request                                    digest=sha256:eb300a827decea6de23bda3e4ec5a60dcb3fb59bd01792fe3b54c08c10f68214 mediatype="application/vnd.docker.distribution.manifest.v2+json" request.headers=map[Content-Type:[application/vnd.docker.distribution.m
anifest.v2+json]] request.method=PUT size=1245 url="https://quay.io/v2/****/****/manifests/latest"
DEBU[0012] fetch response received                       digest=sha256:eb300a827decea6de23bda3e4ec5a60dcb3fb59bd01792fe3b54c08c10f68214 mediatype="application/vnd.docker.distribution.manifest.v2+json" response.headers=map[Server:[nginx/1.13.12] Date:[Thu, 24 May 2018 03:1
1:16 GMT] Content-Type:[application/json] Content-Length:[131]] size=1245 status="415 Unsupported Media Type" url="https://quay.io/v2/****/****/manifests/latest"
ERRO[0012] /moby.buildkit.v1.Control/Solve returned error: unexpected status: 415 Unsupported Media Type

Do we want to support pushing as schema1?

I hesitate to add support for such deprecated format, but probably we should do if there are also other registry implementations that lack support for schema2.

cc @alexellis cc @dmcgowan @stevvooe

moby/buildkit

Answer questions atuljha-optimizely

@jzelinskie Can you whitelist optimizely namespace?

Related questions

Cannot build from local image with buildctl (OCI Worker) hot 10
php build fails when cache is enabled hot 8
RUN --mount=type=cache causes the whole build context to be loaded in hot 7
ssh agent only forwarded from keys on Windows hot 4
Cannot build from local image with buildctl (OCI Worker) hot 3
Evaluate running BuildKit with UML hot 3
Attempt to mount an overlay layer that is already in-use hot 3
rootless image didn't work on OKD (OpenShift) 3.11 hot 3
Cannot build from local image with buildctl (OCI Worker) hot 3
Documentation claims that --mount works with 18.06 hot 3
"No such file or directory" error when running lots of copy operations sequentially hot 2
`httpProxy` support hot 2
rootless image didn't work on OKD (OpenShift) 3.11 hot 2
RUN --mount=type=cache should inherit ownership/permissions from mountpoint hot 2
[question] buildctl prune seems to leak some disk space hot 2
Github User Rank List