conda-forge / podman-feedstock

A conda-smithy repository for podman.
BSD 3-Clause "New" or "Revised" License
1 stars 7 forks source link

Should `~.config/containers/storage.conf` be under conda `$PREFIX`? #30

Open manics opened 1 year ago

manics commented 1 year ago

Comment:

As noted in https://github.com/conda-forge/podman-feedstock/pull/28#issuecomment-1308610673 From the CI tests:

store:
  configFile: /home/conda/.config/containers/storage.conf

whereas other config files are under $PREFIX.

Should ~/.config/containers/storage.conf be changed to $PREFIX/share/containers/storage.conf to match the other configuration files which have been patched to be under $PREFIX, or is this is fine?

dhirschfeld commented 1 year ago

I'm not sure about this one. Putting it in $PREFIX keeps the environment self-contained but OTOH if you did have common container config in your home dir it might be surprising to have podman ignore it.

I guess ideally it would be hierarchal like git and config under $PREFIX would be system config which could be overridden by user config in their home dir. Not sure if podman supports that though so I might have to do some investigation...