-
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
podman-remote: Cannot build if context directory is symlink #12409
Comments
@tnk4on I don't think this a buildah issue it seems to be failing at very early level hence moving it to podman. I don't have a |
I think this already fixed in the main branch, see #11732 |
@flouthoc Thank you for moving the issue!
|
@Luap99 Thanks for the information on the related issue. |
The path is slightly different between your error and the old one: |
Sorry for the confusion. |
No I am saying your path is different from the one in the old issue #11732, you have a extra Can you try with the full path to the directory, e.g. |
OK, I understand. I was able to build it by specifying the path.
|
On macOS, the error continues.
|
The following code solved the problem. This works not only for macOS, but also for podman-remote on Linux
|
Description
When building with podman-remote, an error occurs if the context directory is symlink.
Steps to reproduce the issue:
If the context directory is symlink.
If the context directory is a real directory.
Additional notes:
I reproduced the same error on macOS remote client(v3.4.2 and latest main branch).
This error will block the execution of "Clone Repository in Container Volume" in VS Code on macOS. It works fine when using Docker.
Output of
podman version
if reporting apodman build
issue:Output of
cat /etc/*release
:Output of
uname -a
:Output of
cat /etc/containers/storage.conf
:The text was updated successfully, but these errors were encountered: