1

Trying to pull Docker images to a s390x architecture (available as Hyperprotect VS on IBM public Cloud) and the web based dockerhub search interface doesn't really have a way to only list the specific tags where a Docker image exists for a particular architecture.

I tried using docker pull, docker search, docker manifest, along with some of the "experimental" features. If a Docker image exists, the command will pull it (for example docker pull node:8.11.2) but what if I wanted to see what Node images actually were in dockerhub (or any other repository for that matter) for the s390x, arm, ppcle64, architectures?

Ideas anyone?

$ docker search node

docker pull node:8.11.2-alpine
8.11.2-alpine: Pulling from library/node
no matching manifest for unknown in the manifest list entries
halfer
  • 19,824
  • 17
  • 99
  • 186
fossl
  • 67
  • 1
  • 9
  • We can't list architecture specific images from the repo. But you can inspect the docker image after downloading. Possibly a duplicate to list the images - https://stackoverflow.com/questions/31251356/how-to-get-a-list-of-images-on-docker-registry-v2 – Prakash Krishna Jul 03 '19 at 01:57
  • Yes.. but that means that i need to pull container images on to my platform, my case s390x, and the inspect them prior to running them. If I am looking for a version of nginx to run, I should be able to search for them. Docker manifest which is a experimental feature helps with this, after the container image is downloaded – fossl Jul 03 '19 at 20:05
  • @fossl Is any of the answers from https://stackoverflow.com/questions/31251356/how-to-get-a-list-of-images-on-docker-registry-v2 satisfactory enough for you? – Wytrzymały Wiktor Jul 04 '19 at 08:29

1 Answers1

1

I am posting the answer from this question:

For the latest (as of 2015-07-31) version of Registry V2, you can get this image from DockerHub:

docker pull distribution/registry:master

List all repositories (effectively images):

curl -X GET https://myregistry:5000/v2/_catalog
> {"repositories":["redis","ubuntu"]}

List all tags for a repository:

curl -X GET https://myregistry:5000/v2/ubuntu/tags/list
> {"name":"ubuntu","tags":["14.04"]}
Wytrzymały Wiktor
  • 11,492
  • 5
  • 29
  • 37