Why docker push is successful but docker pull fails on docker-distribution configured using Amazon S3 storage backend ?

Solution Unverified - Updated -

Issue

  • Why docker push is successful but docker pull fails on docker-distribution configured using Amazon S3 storage backend ?. Message noticed in the logs "manifest invalid: manifest invalid"
  • docker push is successful
[root@test ~]# docker push  XXXX:5000/test-rhel72
The push refers to a repository [XXXX:5000/test-rhel72]
41d22034ec14: Pushed
7bd1c7d8201d: Pushed
5f70bf18a086: Pushed
76f400c2e780: Pushed
latest: digest: sha256:acb53e2bcf8b2f97d9e80c357ce3f6407f600898bd5e73fc6346b75f24c51ba0 size: 1118
  • Docker pull fails with the message "manifest invalid: manifest invalid:
[root@test1 ~]# docker pull XXXX:5000/test-rhel72
Using default tag: latest
Trying to pull repository xxx:5000/test-rhel72 ... failed
manifest invalid: manifest invalid
  • Catalog is also empty
[root@test ~]# curl XXXX:5000/v2/_catalog
{"repositories":[]}

Environment

  • Red Hat Enterprise Linux 7.2
  • docker-distribution-2.4.1-1.el7
  • Amazon S3 storage for docker-distribution
    regionendpoint configured with Amazon s3 storage

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.