8000 [DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. · Issue #942 · docker/for-linux · GitHub
[go: up one dir, main page]

Skip to content

[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. #942

@chamer81

Description

@chamer81
  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Actual behavior

When a push to our OpenShift image registry fails due to an imagestream tag quota limit reached, we receive a deprecation notice. We are not sure whether this warning is correctly reporting a problem with our infrastructure:

$ docker push "${IMAGE}"
The push refers to repository [registry.appuio.ch/example-django/example-django]
ae4a3fee0df9: Preparing
...
fd33502eb220: Pushed
[DEPRECATION NOTICE] registry v2 schema1 support will be removed in an upcoming release. Please contact admins of the registry.appuio.ch registry NOW to avoid future disruption. More information at https://docs.docker.com/registry/spec/deprecated-schema-v1/
denied

The notice does not appear when the push succeeds, so it's not clear whether the target registry is actually using a deprecated schema or whether the notice is also emitted for other types of push errors.

According to our analysis, the source code that emits the notice may be doing a fallback to a deprecated schema version.

Expected behavior

We would expect a deprecation notice to appear every time an image is pushed to a registry with the deprecated schema, and not to appear under any other circumstances, so it would be clearer whether the notice is relevant or not.

Steps to reproduce the behavior

Attempt to push an image to an OpenShift image registry in which the tag quota limit has been exhausted.

Output of docker version:
(Output of GitLab-CI pipeline, running the latest official Docker image)

Pulling docker image docker.io/library/docker ...
Using docker image sha256:6512892b576811235f68a6dcd5fbe10b387ac0ba3709aeaf80cd5cfcecb387c7 for docker.io/library/docker ...
Running on runner-0277ea0f-project-14535846-concurrent-0 via runner-0277ea0f-srm-1581736725-a02e3b27...

Additional environment details (AWS, VirtualBox, physical, etc.)
Docker CI runner on GitLab.com

Complete output of the build job here: https://gitlab.com/appuio/example-django/-/jobs/438375719

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0