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

Fix failing Skopeo pullImage with /run/containers not readable #122

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

norpol
Copy link

@norpol norpol commented Mar 10, 2024

I've just debugged for someone why Skopeo fails with reading JSON file "/run/containers/1001/auth.json": open /run/containers/1001/auth.json: permission denied inside GitHub actions.

I think that is something also true for nix2container.pullImage, though I'm not sure how/where you would like me to add this change. Needs probably some further investigation.

To test this run mkdir /run/containers; chmod 000 /run/containers and see Skopeo pull failing.

NixOS/nixpkgs#294849

default.nix Outdated Show resolved Hide resolved
@norpol norpol changed the title Fix failing Skopeo pullImage with /run/containers not readable Fix failing Skopeo pullImage with /run/containers not readable Mar 10, 2024
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

Successfully merging this pull request may close these issues.

1 participant