Docker Community Forums

Share and learn in the Docker community.

How to create Image Manifest


(Srzjulio) #1

Hi All,

I’m following the manifest list examples documented here:

The issue I’m having is that I keep getting errors that say I don’t have an image manifest. There aren’t any examples of how to create an Image Manifest which I can then use to create a Manifest list.

Below isn’t exactly what I’m running, but I it illustrates the point. If I were to run the below:

docker manifest create 45.55.81.106:5000/coolapp:v1 \
45.55.81.106:5000/coolapp-ppc64le-linux:v1 \
45.55.81.106:5000/coolapp-arm-linux:v1 \
45.55.81.106:5000/coolapp-amd64-linux:v1 \
45.55.81.106:5000/coolapp-amd64-windows:v1

I would get an error saying that there is no manifest for “45.55.81.106:5000/coolapp-ppc64le-linux:v1”. The image exists, but the manifest that goes with it doesn’t. The question is, how do I make a manifest for an image. Any examples out there?


(Srzjulio) #2

I’ve sorted this issue out.

When you push an Image to your registry, the Image manifest will get created automatically. I was having trouble viewing it with the docker manifest inspect command because the registry was insecure. Once I added the --insecure flag, I was able to view the Image Manifest on the registry. i was also able to create the manifest list.