-
Notifications
You must be signed in to change notification settings - Fork 788
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
Different behaviour between STORAGE_DRIVER=vfs and --storage-driver=vfs #1859
Comments
Disabling the mount options in /etc/containers/storage.conf should allow you to use the Environment variable. The options are for the Overlay Driver. |
In buildah code we do:
But the storage library handles the environment variable, which is why they are different. We have talked about changin the storage library to make the options driver specific, which is really the long term solution to this problem. |
Thanks for your reply, I'm looking forward to be able to use |
I don't believe we have this issue any longer, reopen if I am mistaken. |
This is what I have on current buildah/stable (for root user it picks driver correctly):
|
A rootless buildah container will use the local storage.conf file in $HOME/.config/containers/storage.conf. |
Description
I'm using Buildah to build an OCI image with Gitlab CI and quay.io/buildah/stable. Setting the environment variable STORAGE_DRIVER=vfs produces:
while
buildah --storage-driver=vfs bud .
works as expected.Steps to reproduce the issue:
podman run --privileged --rm -ti quay.io/buildah/stable
STORAGE_DRIVER=vfs buildah info
buildah --storage-driver=vfs info
Describe the results you received:
Describe the results you expected:
Same result from both commands.
Output of
rpm -q buildah
orapt list buildah
:Output of
buildah version
: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: