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
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Open
kenorb opened this issue
Apr 9, 2018
· 13 comments
Comments
Repro steps:
- Run:
docker pull ansible/ansible
The above command results in:
Using default tag: latest
Error response from daemon: manifest for ansible/ansible:latest not found
I understand I should use a different tag, but this command appears on the project page at https://hub.docker.com/r/ansible/ansible/ in the «Docker Pull Command» block.
Should the command be corrected on that page?
dheerajmpai and pashkatrick reacted with heart emoji
Hi @nickwinn , This seems to be an issue with other images as well ex:-
-
Run
docker pull kindest/node
-
Output
Error response from daemon: manifest for kindest/node:latest not found: manifest unknown: manifest unknown
I tried using default tag as well but no success
-
Run
docker pull kindest/node:default
-
Output
Error response from daemon: manifest for kindest/node:default not found: manifest unknown: manifest unknown
Error response from daemon: manifest for zuo/cheers2019:latest not found: manifest unknown: manifest unknown
The documentation could be clearer IMHO.
Cannot add more to that! Why not say «tag is not found, please check the registry or fix the tag», but instead some scary message about manifests is printed which confuses people for years already!
no tag bug
➜ ~ docker pull xgqfrms/node.js Using default tag: latest Error response from daemon: manifest for xgqfrms/node.js:latest not found: manifest unknown: manifest unknown ➜ ~ docker pull xgqfrms/node.js:default Error response from daemon: manifest for xgqfrms/node.js:default not found: manifest unknown: manifest unknown
This is not an issue with docker hub. This is an issue with documentation provided by the group working on ansible itself.
I am getting the same error while running from jenkins. Although, i am able to run container manually from ec-2. Any help woud be appreciable.
SS from docker Hub.
The error is because of wrong tag.
check the tag in docker hub like 1.0, 2.0 or something, using default worked for me.
If we disable the ‘Enable Token Authentication‘ option in Artifactory’s remote docker repository then the docker pulls will fail.
For example, as regards the following Centos image, when you perform a Docker pull:
docker pull docker.jfrog.com:8081/centos:latest
Error response from daemon: manifest for docker.jfrog.com:8081/centos:latest not found
The request.log shows:
20190306113853|2242|REQUEST|127.0.0.1|anonymous|GET|/api/docker/docker/v2/centos/manifests/latest|HTTP/1.1|404|0
As the Docker hub only supports token-based authentication, in the UI for Arifactory’s docker-remote repository options, you»ll need to tick the Enable Token Authentication( see screenshot below) to enable the execution of Docker pulls.
Following this, the docker pull example above should work as expected.
docker pull docker.jfrog.com:8081/centos:latest
latest: Pulling from centos
Digest: sha256:184e5f35598e333bfa7de10d8fb1cebb5ee4df5bc0f970bf2b1e7c7345136426
Status: Image is up to date for docker.jfrog.com:8081/centos:latest
Request.log shows as below:
20190306114018|3386|REQUEST|127.0.0.1|anonymous|GET|/api/docker/docker/v2/centos/manifests/latest|HTTP/1.1|200|1721
20190306114022|3795|REQUEST|127.0.0.1|anonymous|GET|/api/docker/docker/v2/centos/manifests/sha256:365fc7f33107869dfcf2b3ba220ce0aa42e16d3f8e8b3c21d72af1ee622f0cf0|HTTP/1.1|200|529
We self-host Ghost using Docker for our website Linux Handbook.
My colleague Avimanyu has put an excellent mechanism in place that allows updating Docker containers without downtime (if it is set via reverse proxy).
I was following his documents to update the Ghost version but I was greeted with an error that read this:
Pulling ghost (ghost:4.39.0)…
ERROR: manifest for ghost:4.39.0 not found: manifest unknown: manifest unknown
If you are trying to pull a Docker image and it shows the manifest not found error, here’s what you need to know about solving it.
Manifest unknown because there is no such Docker image
That’s the root cause in almost all of cases involving this error. The particular docker image you are trying to pull does not exist.
How is that possible? There could be several reasons for that.
- You made a typo while using a specific tag or version of the Docker image. For example, if it is version 20.04 and you typed 20.4, it will not find the image.
- You tried to download a version which is not available in Docker image yet. For example, in my case, Ghost version 4.39 was released but the latest Docker image was still tagged at version 4.38.1.
- If you are trying to download from a private repository, you may have to log in first:
docker login repository_details
Basically, you should double check the name and tag of the Docker image you are trying to pull from the repository. For example, it is common to use the latest tag while getting the Docker image but some images might not even have the latest tag (which is rare but possible).
If you are pulling the image from the Docker Hub (like most people), you can go to its web interface and see the name and available tags.
I hope this helps you troubleshoot the unknown manifest error with Docker. If you still have any questions, please feel free to leave a comment below.
Creator of Linux Handbook and It’s FOSS. An ardent Linux user & open source promoter. Huge fan of classic detective mysteries from Agatha Christie and Sherlock Holmes to Columbo & Ellery Queen.