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
skopeo: add wrapper #87659
skopeo: add wrapper #87659
Conversation
This doesn't describe at all what purpose the wrapper / this PR serves. |
wrap fuse-overlayfs for storage compatibility with the podman wrapper
@GrahamcOfBorg test docker-tools |
It would be nice to set the path at build time, to avoid this wrapper. I created the issue containers/storage#622 to track this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🐯
We could actually build a
|
If we change the default path to this file at build time will it still read from |
@zowoq No, Skopeo will not read the |
I don't think that it is a good solution then.
The policy file can now be managed by the |
But we can still change the policy file path on CLI which doesn't seem to be possible for the |
|
@nlewo Would you have an objection if I sent a PR to remove setting the policy at build time? It's not very clear (and somewhat surprising TBH) that the config in
|
@zowoq When there is no |
Without a policy file it will stop working but passing |
The user who wants to use Skopeo from nixpkgs would then have to understand what this flag means and why it is needed. So, this is a bit annoying... |
This file is used by other tools so I don't see how upstream could special case this tool to work without it by default. |
I've opened #87821, we can continue discussion there. |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)