Skip to content

Cannot pull SHA-tagged bitnami/nginx from Docker hub #91835

@fterrani

Description

@fterrani

Name and Version

bitnami/nginx:sha256-21fec87ab93a628f7082bc6a0531c8fdc586d3a1095be14690dbfb984d46c1f7

What steps will reproduce the bug?

  1. Windows 11 with the latest Docker Desktop CLI, run docker pull bitnami/nginx:sha256-21fec87ab93a628f7082bc6a0531c8fdc586d3a1095be14690dbfb984d46c1f7

What is the expected behavior?

Image should be pulled?

What do you see instead?

The following error message:

unsupported media type application/vnd.cncf.notary.signature

Additional information

Greetings.

I've read several documentation pages of Docker, Bitnami and Notation but I cannot understand why the following happens.

I wanted to pull a Bitnami Nginx Docker image from the Docker hub. At first I used the following command:

>docker pull bitnami/nginx:latest
latest: Pulling from bitnami/nginx
eb622c256171: Pull complete
Digest: sha256:0395d4f646e90a60ccbe484078470e9fd26f7d4eabe20323135f70367ce443eb
Status: Downloaded newer image for bitnami/nginx:latest
docker.io/bitnami/nginx:latest

What's next:
    View a summary of image vulnerabilities and recommendations → docker scout quickview bitnami/nginx:latest

Everything seemed to work fine with this one. I then wanted to use a non-rolling tag so I tried to download one of the images listed on Docker hub. Unfortunately I get an error message:

>docker pull bitnami/nginx:sha256-21fec87ab93a628f7082bc6a0531c8fdc586d3a1095be14690dbfb984d46c1f7
sha256-21fec87ab93a628f7082bc6a0531c8fdc586d3a1095be14690dbfb984d46c1f7: Pulling from bitnami/nginx
unsupported media type application/vnd.cncf.notary.signature

I thought that maybe the command syntax wasn't right. So I checked the docker pull command's web page and tried using @ and : instead of : and - respectively, but another error message appears:

>docker pull bitnami/nginx@sha256:21fec87ab93a628f7082bc6a0531c8fdc586d3a1095be14690dbfb984d46c1f7
docker.io/bitnami/nginx@sha256:21fec87ab93a628f7082bc6a0531c8fdc586d3a1095be14690dbfb984d46c1f7: Pulling from bitnami/nginx
unsupported media type application/vnd.oci.empty.v1+json

However, the SHA-tagged image that also matches the latest tag works (which sounds logical):

>docker pull bitnami/nginx@sha256:0395d4f646e90a60ccbe484078470e9fd26f7d4eabe20323135f70367ce443eb
docker.io/bitnami/nginx@sha256:0395d4f646e90a60ccbe484078470e9fd26f7d4eabe20323135f70367ce443eb: Pulling from bitnami/nginx
eb622c256171: Pull complete
Digest: sha256:0395d4f646e90a60ccbe484078470e9fd26f7d4eabe20323135f70367ce443eb
Status: Downloaded newer image for bitnami/nginx@sha256:0395d4f646e90a60ccbe484078470e9fd26f7d4eabe20323135f70367ce443eb
docker.io/bitnami/nginx@sha256:0395d4f646e90a60ccbe484078470e9fd26f7d4eabe20323135f70367ce443eb

What's next:
    View a summary of image vulnerabilities and recommendations → docker scout quickview bitnami/nginx@sha256:0395d4f646e90a60ccbe484078470e9fd26f7d4eabe20323135f70367ce443eb

...but none of the other SHA-tagged image seems to be pullable. Other images with tags ending with .sig or .metadata or .att exist but they don't work either and I don't understand what they are used for.

I've been trying for some time now but I couldn't find any documentation explaining this online. Can you explain me this situation? or point me to the appropriate place to ask if this is not the right one?

Thanks!

Metadata

Metadata

Assignees

Labels

nginxtech-issuesThe user has a technical issue about an applicationtriageTriage is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions