How do you list available Docker images for a specific architecture

7/3/2019

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
-- fossl
docker
dockerfile
dockerhub
kubernetes
openshift

1 Answer

7/10/2019

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"]}
-- OhHiMark
Source: StackOverflow