Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues pulling docker build via kaniko #808

Open
BenHizak opened this issue Aug 15, 2019 · 3 comments
Open

Issues pulling docker build via kaniko #808

BenHizak opened this issue Aug 15, 2019 · 3 comments

Comments

@BenHizak
Copy link

There is an issue pulling the docker image
$ docker pull quay.io/roboll/helmfile:v0.79.1

[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the quay.io registry NOW to avoid future disruption.

While this is only a warning, while working with Kaniko on google cloud, the image fails to download at all.

@mumoshu
Copy link
Collaborator

mumoshu commented Aug 15, 2019

@BenHizak Hey!

To me the message seems to indicate distribution/distribution#2976, which is just a presentational bug in docker.

For Kaniko, do you see any specific error related to the download failure?

@BenHizak
Copy link
Author

BenHizak commented Aug 16, 2019

Update: I reported the issue to quay.io, their ticket number 17590
Their response

(CoreOS Support)
Aug 15, 19:48 PDTHi Ben,You are seeing error "error building image: unsupported MediaType: google/go-containerregistry#377" since Quay.io doesn't support V 2_2 schema manifest yet. Although v2_2 schema had been enabled on specific namespace , Complete roll out of V2_2 will be happening in couple of weeks time, However we dont have a definite timeline. Am not pretty sure about kaniko, However you can try downgrading you docker version to 18.09 and try pull image.Thanks,Dixit

@BenHizak
Copy link
Author

BenHizak commented Aug 16, 2019

Two different errors:

Kaniko Latest

see logs, dockerfile, etc.

[INFO] Downloading base image quay.io/roboll/helmfile:v0.79.1 
2019/08/15 20:41:33 No matching credentials were found, falling back on anonymous
error building image: unsupported status code 405; body: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The method is not allowed for the requested URL.</p>

Kaniko Debug

see logs, dockerfile, etc.

Downloading base image quay.io/roboll/helmfile:v0.79.1 
error building image: unsupported MediaType: https://github.com/google/go-containerregistry/issues/377
ERROR
ERROR: build step 0 "gcr.io/kaniko-project/executor:debug" failed: exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants