Skip to content
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

Unable to pull docker image #562

Closed
greenlogles opened this issue Jul 31, 2020 · 10 comments
Closed

Unable to pull docker image #562

greenlogles opened this issue Jul 31, 2020 · 10 comments

Comments

@greenlogles
Copy link

greenlogles commented Jul 31, 2020

Hello

Starting from today I'm facing issue with pulling latest docker image:

docker pull phusion/baseimage
Using default tag: latest
Error response from daemon: manifest for phusion/baseimage:latest not found: manifest unknown: manifest unknown

I've seen that docker hub has updated tag names like 'master-amd'. Would it be at all possible to use 'latest' tag for newly pushed images ?

Thank you

@alftpa
Copy link

alftpa commented Jul 31, 2020

I have the same problem, yesterday it worked normally but right now i can't pull the image, some solution?

@Theaxiom
Copy link
Collaborator

Theaxiom commented Jul 31, 2020

When using baseimage-docker you have to specify a version, this is to protect you from issues down the road (predictability and traceability). If you insist on using unstable versions you can simply use master-<arch> for your tag. Replace <arch> with the architecture you want.

The latest images was over 1 year old and people were still using it, without even knowing what it represents. This is why it was removed. You should not blindly use latest and assume what it represents, this goes for any image on Docker Hub. There is no traceability to know which branch it was built from and you have to take the project's word for it.

You can trace our images through the pipeline and see the Travis-CI build and ensure that the images which represent the branch are exactly the same.

Here is an excellent blog post on the point: https://medium.com/@mccode/the-misunderstood-docker-tag-latest-af3babfd6375

There are many other resources across the internet which detail why not to use latest tag for Docker. If you really want to change my mind, please read the blog post and with that in mind, do research on the internet and propose a solid solution and case as to why latest tag should exist, as opposed to having tags which actually represent what is being built. I will definitely consider any new information, especially if it comes with a strong case.

-- Travis

@alftpa
Copy link

alftpa commented Jul 31, 2020

I understand why i is not recomendable use the latest tag but in the phusion when i enter to docker hub i don't more tags, for that reason i always used the latest, Where is the reference to the tags of this image?

@Theaxiom
Copy link
Collaborator

@jjborie
Copy link

jjborie commented Jul 31, 2020

Hi,

Can you tell us what is the equivalent of the latest default latest?

Thanks

@greenlogles
Copy link
Author

Thanks @Theaxiom for detailed explanation.
It's known that latest tag is not guarantee any compatibility with previous versions (the same like git master branch)

@SuperSandro2000
Copy link

@jjborie

When using baseimage-docker you have to specify a version, this is to protect you from issues down the road (predictability and traceability). If you insist on using unstable versions you can simply use master- for your tag. Replace with the architecture you want.

NelsonVides added a commit to esl/amoc-arsenal-xmpp that referenced this issue Aug 3, 2020
Add phusion version

Travis build was failing due to the reason:
`manifest for phusion/baseimage:latest not found`

Using latest is not recommended and now not supported.
phusion/baseimage-docker#562
@Theaxiom
Copy link
Collaborator

Theaxiom commented Aug 3, 2020

@jjborie you can get latest release tags here: https://github.com/phusion/baseimage-docker/releases

@Theaxiom
Copy link
Collaborator

Theaxiom commented Aug 3, 2020

@jjborie you can also find (all) the different arch tags here: https://hub.docker.com/r/phusion/baseimage/tags

@samip5
Copy link
Collaborator

samip5 commented Sep 2, 2021

This issue has been stale for more than a year, I'm going to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants