Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DOCKER manifest unknown: manifest unknown

I am trying to pull the images I created and I get this error:

/usr/local/bin/docker-compose up -d
Pulling hub (dockyard.cloud.capitalone.com/entepriseatdd/selenium-hub:3.0.0)...
Trying to pull repository dockyard.cloud.capitalone.com/entepriseatdd/selenium-hub ...
ERROR: manifest unknown: manifest unknown
We are Spinning up 2 Browsers.
/usr/local/bin/docker-compose scale chrome=2 firefox=2
Creating and starting execution_chrome_1 ...
Creating and starting execution_chrome_2 ...
Pulling chrome (dockyard.cloud.capitalone.com/entepriseatdd/selenium-chrome-node:53.0.3)...
Pulling chrome (dockyard.cloud.capitalone.com/entepriseatdd/selenium-chrome-node:53.0.3)...
Trying to pull repository dockyard.cloud.capitalone.com/entepriseatdd/selenium-chrome-node ... 
Trying to pull repository dockyard.cloud.capitalone.com/entepriseatdd/selenium-chrome-node ...

ERROR: for execution_chrome_1  manifest unknown: manifest unknown

ERROR: for execution_chrome_2  manifest unknown: manifest unknown
like image 660
Siraj Syed Avatar asked Jan 23 '17 15:01

Siraj Syed


People also ask

What is a docker manifest?

A manifest list is a list of image layers that is created by specifying one or more (ideally more than one) image names. It can then be used in the same way as an image name in docker pull and docker run commands, for example.

How do I tag in docker?

Docker tags are just an alias for an image ID. The tag's name must be an ASCII character string and may include lowercase and uppercase letters, digits, underscores, periods, and dashes. In addition, the tag names must not begin with a period or a dash, and they can only contain 128 characters.

How do I make an image manifest in docker?

You can manually create multi-architecture images using the docker manifest command. Build each of the individual images and push them up to a registry. Then use the docker manifest create command to combine the images into a new shared manifest under a single tag.


4 Answers

It usually occurs when the image does not exist on the local machine or in the registry you are looking for.

Suppose I have an image called repository-name/image-name:v1.0.0

For the following docker-compose.yaml

    # an example of docker compose
    version: '2'
    services:
      my-service-name:
        image: repository-name/image-name:v1.0.0
        restart: always

I get the same error when trying to use a docker image stored on the dockerhub in two situations:

When I type the wrong name of the image.

    # a wrong example
    version: '2'
    services:
      my-service-name:
        image: repository-name/image-wrong-name:v1.0.0
        restart: always

The command "docker-compose up", returns the error:

    /usr/bin/docker-compose up -d

    Pulling my-service-name (repository-name/image-wrong-name:v1.0.0)...
    ERROR: manifest for repository-name/image-wrong-name:v1.0.0 not found: manifest unknown: manifest unknown

Or if the version of the image doesn't exist.

    # a wrong example
    version: '2'
    services:
      my-service-name:
        image: repository-name/image-name:v1.0.1
        restart: always

I have the same error:

    /usr/bin/docker-compose up -d

    Pulling my-service-name (repository-name/image-name:v1.0.1)...
    ERROR: manifest for repository-name/image-name:v1.0.1 not found: manifest unknown: manifest unknown

Information about my environment:

  • The operating system platform is Linux (Ubuntu 16.04);
  • The output of the docker version command
    Client: Docker Engine - Community
     Version:           19.03.12
     API version:       1.40
     Go version:        go1.13.10
     Git commit:        48a66213fe
     Built:             Mon Jun 22 15:45:49 2020
     OS/Arch:           linux/amd64
     Experimental:      false
    
    Server: Docker Engine - Community
     Engine:
      Version:          19.03.12
      API version:      1.40 (minimum version 1.12)
      Go version:       go1.13.10
      Git commit:       48a66213fe
      Built:            Mon Jun 22 15:44:20 2020
      OS/Arch:          linux/amd64
      Experimental:     false
     containerd:
      Version:          1.2.13
      GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
     runc:
      Version:          1.0.0-rc10
      GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
     docker-init:
      Version:          0.18.0
      GitCommit:        fec3683
like image 94
André Carvalho Avatar answered Sep 30 '22 19:09

André Carvalho


I got the same error recently. It happens because you need to specify the version.

ie: docker pull envoyproxy/envoy:v1.18.3

If you try to do:

docker pull envoyproxy/envoy

You hit the following issue:

Error response from daemon: manifest for envoyproxy/envoy:latest not found: manifest unknown: manifest unknown
like image 36
Yrineu Rodrigues Avatar answered Sep 30 '22 19:09

Yrineu Rodrigues


When you don't run the latest version of the docker image you need to mention the version starting with the ':' at the end of the image.

eg: repository-name/image-name:<version_number>

like image 36
kusal_fernando Avatar answered Sep 30 '22 19:09

kusal_fernando


I had this happen after I deleted images from my private registry,because images I didn't delete depended on the ones I deleted. The registry was on my build server, so I had the source for the repo available in .../jenkins_home/workspace/MYPROJECT_projname_MYTAG. I went there and rebuilt the image with --no-cache so it would stop relying on deleted images, and pushed it to the registry.

IMAGE_NAME=my/image
TAG=PR-59
docker build . -t ${IMAGE_NAME}:${TAG}temp --no-cache
docker tag ${IMAGE_NAME}:${TAG}temp $REGISTRY_IP:$REGISTRY_PORT/${IMAGE_NAME}:${TAG}
docker push $REGISTRY_IP:$REGISTRY_PORT/${IMAGE_NAME}:${TAG}
like image 24
Noumenon Avatar answered Sep 30 '22 20:09

Noumenon