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

Occasionally clean up fails when packaging images #27

Open
dmikusa opened this issue Mar 1, 2024 · 1 comment
Open

Occasionally clean up fails when packaging images #27

dmikusa opened this issue Mar 1, 2024 · 1 comment

Comments

@dmikusa
Copy link
Contributor

dmikusa commented Mar 1, 2024

Expected Behavior

There are occasionally failures cleaning up. It's not 100% clear what is causing that, but the exit is unclean. It does not impact the functionality though. Images are still built fine.

Current Behavior

➜ Cleaning up Docker images
2024/03/01 12:26:13 unable to clean up docker images
unable to execute `docker image rm` command
exit status 1

Possible Solution

Need to dig in to see why this is happening. It's probably an edge case where there are no images to clean up or something like that.

Steps to Reproduce

Unsure exactly.

Motivations

Clean run with no errors.

@dmikusa
Copy link
Contributor Author

dmikusa commented Nov 25, 2024

Got this another time:

➜ Cleaning up Docker images
2024/11/25 10:39:37 unable to clean up docker images
 sha256:578a8dd8e5120c8c8a7f08e5b8cd71e6b944f052d8fc39ae4ed80a305401245c]391de1e7026a22b0911ca0d64f3b8f0c644d1df4a5d11b76e8075
exit status 1

The hash digest there for the image looks weird. I ran the command the tool is running to fetch the images and it did not include that part.

> docker image ls --quiet --no-trunc --filter 'dangling=true'
sha256:93a456d694f391de1e7026a22b0911ca0d64f3b8f0c644d1df4a5d11b76e8075

so I'm thinking that something is messing with the output and it's not quite what would be expected.

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

No branches or pull requests

1 participant