Closed ahmedwaleedmalik closed 4 years ago
Adding --storage-driver=vfs
in the build command fixed this issue for me :)
I hit the same issue with buildah/stable:v1.14.8 in openshift container platform v3.11.104 whereas on AKS cluster it works fine.
Use vfs driver is not a solution for me because the buildah bud performance are increased by 10.
There is another way to handle it on openshift ?
Can you run the container with privs? Basically as root? Or at least with CAP_SETUID, CAP_SETGID?
@rhatdan yes i'm running container with privileged : true and as root
I think the issue is the /dev/fuse is not being added by default to the container, so the container is not using fuse-overlayfs.
@haircommander FYI
Hi, I am trying to build a docker image using buildah but i am getting this error:
DockerFile:
I am trying to build the image in a tekton(openshift) pipeline. Using
quay.io/buildah/stable
with the following command:['buildah', 'bud', '--tls-verify=$(inputs.params.tlsVerify)', '--layers','-f', '/workspace/source/dockerFile', '-t', '$(inputs.params.destinationImageName)', '.']