-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Milestone
Description
Describe the bug
jq image on Docker Hub uses outdated schema1 manifest format.
To Reproduce
$ DOCKER_CLI_EXPERIMENTAL=enabled docker manifest inspect stedolan/jq:latest
unsupported manifest media type and no default available: application/vnd.docker.distribution.manifest.v1+prettyjws
Expected behavior
The docker image has a more recent manifest v2, schema v2
Environment (please complete the following information):
N/A
Potential remediation:
From https://docs.docker.com/registry/spec/deprecated-schema-v1/
One way to upgrade an image from image manifest version 2, schema 1 to schema 2 is to docker pull the image and then docker push the image with a current version of Docker. Doing so will automatically convert the image to use the latest image manifest specification.
However, the current image may be manifest v1, for which this method may not apply.