Overview

Request 1036431 superseded

- add container-storage-driver.sh (bsc#1197093)

- postinstall script: slight cleanup, no functional change


Fabian Vogt's avatar

Shouldn't this be in /usr/etc/profile.d/?


Dirk Mueller's avatar

moved there


Fabian Vogt's avatar

This might override whatever the user set in ~/.config/containers/storage.conf


Dirk Mueller's avatar

I can make it only set it when there is no config file (it really only matters until you have pulled the first container anyway)


Fabian Vogt's avatar

AFAIK the vfs driver is "mostly for debugging" or something like that


Richard Brown's avatar

I believe you're right, yup

According to https://docs.docker.com/storage/storagedriver/select-storage-driver/ the decision matrix for deciding the right storage driver for rootless should be something like this

IF filesystem=btrfs overlayfs driver = btrfs

ELSE IF filesystem=ext4|xfs (ftype=1) THEN driver = overlay|overlay2

ELSE driver= fuse-overlayfs


Dirk Mueller's avatar

there is a different decision logic for rootless, as fuse-overlayfs is never chosen, but vfs instead.

anyway, forced it to overlayfs. if overlayfs don't work the user then has to know that they have to set "vfs" explicitly.

Request History
Dirk Mueller's avatar

dirkmueller created request

- add container-storage-driver.sh (bsc#1197093)

- postinstall script: slight cleanup, no functional change


Dirk Mueller's avatar

dirkmueller superseded request

superseded by 1036692

openSUSE Build Service is sponsored by