-
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
Volumes are resolved on client side on build
but vm side on run
on macOS
#17139
Comments
build
but server side on run
build
but vm side on run
on MacOS
build
but vm side on run
on MacOSbuild
but vm side on run
on macOS
I think the run behavior is more correct here - machine should ensure that appropriate directories are mounted into the VM to ensure server-side resolution works. @baude @ashley-cui Do you concur? |
I think I changed this recently, this should be tested with podman 4.4. |
@flouthoc PTAL |
A friendly reminder that this issue had no activity for 30 days. |
This is not fixed, I can still reproduce in upstream. Checking it now. |
Validate build volumes on backend and not on frontend Closes: containers/podman#17139 [NO NEW TESTS NEEDED] Exisiting volumes checks must pass. ( Tests might need retrofit in error message ) Signed-off-by: Aditya R <[email protected]>
Following PR should close this: containers/buildah#4792 |
Issue Description
It seems that volumes (--volume) are resolved differently on
build
vsrun
when running macOS.build
checks that the file exists on the client-side (macOS) whilerun
checks that the file exists on the remote side (podman machine vm side).Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Podman build fails to find the source volume file because it checks on the client side on not the vm side.
Describe the results you expected
The source file should not be required to exists on client-side but only on the vm side. Compare to executing the steps on the vm instead.
podman info output
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Homebrew install on MacOS Ventura 13.1.
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: