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

buildah-remote-oci-ta task will left a emtpy /cachi2 folder in the target container image #1652

Open
shi2wei3 opened this issue Nov 26, 2024 · 2 comments

Comments

@shi2wei3
Copy link
Contributor

I can reproduce this issue with bootc image after switch to buildah-remote-oci-ta task, and also find it in tang image which also uses buildah-remote-oci-ta task for building.

$ podman run -ti --rm <bootc-image> ls -l /cachi2
total 0
$ podman run -ti --rm registry.stage.redhat.io/rhel9/tang:9.5 ls -l /cachi2
total 0
@shi2wei3
Copy link
Contributor Author

Filed a buildah issue to track: containers/buildah#5847

@shi2wei3
Copy link
Contributor Author

shi2wei3 commented Dec 2, 2024

It's because of a default behavior change in buildah containers/buildah#5604 in order to align with docker, and can be changed with the option --compat-volumes.

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