-
Notifications
You must be signed in to change notification settings - Fork 84
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
Invalid cross-device link when running pip install in rootless mode #332
Comments
@nalind PTAL |
Could be caused by fuse-overlayfs. Can you show the output of |
You are right, if I force the build with $ buildah build --storage-driver=overlay -f Dockerfile
OK!
$ buildah build --storage-driver=vfs -f Dockerfile
OK! How can I force buildah to use native overlay in the Output of
|
that should happen by default if you start with a fresh storage and the kernel supports it. Otherwise, you can just force the |
and I think this is not even a fuse-overlayfs issue. It is pip to not handle |
Check or remove the storage.conf from your homedir. |
Thanks! Removing the local As @giuseppe mentioned, I believe the root cause is in pip, similar to this issue pypa/pip#103 |
thanks for confirming it! |
Description
When running buildah or podman in rootless mode on a Dockerfile that uses
pip
to install packages I get the following error for some packages (e.g. pip itself):The error appears when using
registry.access.redhat.com/ubi8/python-38:latest
anddocker.io/python:3.9.9-slim
as base image, so an image-related error can be discarded.If I build the image using the root user the error disappears.
Steps to reproduce the issue:
buildah
it in rootless mode:Describe the results you received:
I get the following error:
Describe the results you expected:
No error.
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
: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
:Output of
df -h /var/lib/containers
:Output of
grep /var/lib/containers /proc/mounts
:The text was updated successfully, but these errors were encountered: