-
Notifications
You must be signed in to change notification settings - Fork 14
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
Image resource errors with "Can't close tar writer" ... "failed to read downloaded context ... status 403" #967
Comments
Confirmed. I ran into this issue as well. |
got the same |
I believe I'm seeing the same. If I build the image locally without Pulumi, everything runs fine but if I build the image with Pulumi Docker then I get the same errors as above. Is there a way to downgrade something as a work around? |
In Docker Desktop, can you try disabling the "containerd image store"? |
Apologies, it looks like containerd image store was already disabled in my environment so my issue must be unrelated. |
I have the same issue. It happens on MacOS and Windows. Switching the containerd image store option doesn't help either |
@KrzysztofZawisla @shmanny @AaronFriel @didlawowo @bernadinm and anyone else affected, can you please provide the output of |
$ pulumi about [21:59:19] Host $ docker version [22:00:52] Server: Docker Desktop 4.30.0 (149282) |
This repros for me using the docker-container-registry/ts example and the containerd backend. There's some log parsing logic which I suspect isn't handling containerd messages correctly. You may want to consider the new docker-build provider as a workaround. |
Unfortunately the legacy build APIs we use in this provider aren't compatible with containerd due to moby/moby#47717. Until that's resolved the recommendation is to disable the containerd snapshotter ( For anyone who's disabled containerd and is still experiencing problems, please include the full error message you're seeing as well as the output of |
Disabling "Use containerd for pulling and storing images" fixed for me |
@blampe Switched to docker-build - all good, thanks 👍🏻 |
What happened?
After enabling the "Containerd image store" (see docker/roadmap#371), I see errors during a Pulumi deployment like the following:
Example
The examples should be sufficient to trigger this bug.
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: