Skip to content

Unable to pull docker.registry.platform.sh/php-8.1:stable #214

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

Closed
davidvthecoder opened this issue Mar 11, 2025 · 1 comment
Closed

Unable to pull docker.registry.platform.sh/php-8.1:stable #214

davidvthecoder opened this issue Mar 11, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@davidvthecoder
Copy link

docker pull docker.registry.platform.sh/php-8.1:stable
stable: Pulling from php-8.1
unable to fetch descriptor (sha256:d0aaa8218da1d183ea6db72534965de00364fc71d0b834a575019607dfc593e1) which reports content size of zero: invalid argument

You must not have the image on your local machine already for this error to be thrown.

@davidvthecoder davidvthecoder added the bug Something isn't working label Mar 11, 2025
@davidvthecoder
Copy link
Author

I was able to find out that the issue is that Dockerhub by default has "Use containerd for pulling and storing images". When this is checked I believe it is acting like a proxy and stripping useful information in the HEAD such as the size attribute.

Unchecked the checkbox in General settings in docker hub and was able to pull the images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant