-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Copy the content from the underlying image into the newly created volume. #10911
Conversation
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.
I think we should split the network setup out from this, you only need storage. CNI setup is expensive. I also think in case of slirp4netns it will leak the process. cleanup() will not kill the slirp process.
Does c.mountStorage()
and c.cleanupStorage()
works for you?
That will work. Thank you, @Luap99 . I had looked at that option earlier but thought there was some complexity. Not sure why. Checking again after your comment, it seems to be fine. Currently, I am blocked and waiting for someone to merge the containers/common#678 PR before I can make this change. |
In the top-level directory for the Podman git repo, run: Then run Please note that you cannot have symlinks in the path of your working directory when you run these - has to be an absolute path or the commands will misbehave. |
Thank you @mheon . Looks like a new version of common is not needed per your instruction. |
I think it is asking for Common - from the tests:
|
Correct. That comment I made was for vendor PR failure. |
/retest |
@vikas-goel: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Now that vendor c/common is done, could someone add |
I think you need to rebase on top of latest main and force-push - that will pick up the change and force CI to rerun |
Copy-up triggers on any volume, including volumes from |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vikas-goel The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The copy happens if prepare_volume_on_create is set to true in containers.conf file.
Docker does this by default.
Fixes: #10262
Signed-off-by: Vikas Goel [email protected]