Can't set comma-separated option value via `STORAGE_OPTS`
shvchk opened this issue · 0 comments
shvchk commented
Consider the following storage.conf
:
#...
[storage.options.overlay]
mountopt = "nodev,volatile"
What would be the STORAGE_OPTS
env var equivalent?
STORAGE_OPTS
uses ,
to separate options, so one would expect that either quoting (STORAGE_OPTS="overlay.mountopt='nodev,volatile'"
) or escaping (STORAGE_OPTS="overlay.mountopt=nodev\,volatile"
) would work, but neither does.
Quick way to check (yeah, I know volatile
is default for --rm
anyway):
STORAGE_OPTS="overlay.mountopt='nodev,volatile'" podman run --rm -it alpine
Error: unable to parse key/value option: volatile
Relevant line:
Line 337 in 6902c2d