Env variables substitution in services' URI in config file
Closed this issue · 0 comments
tony-sol commented
Is your feature request related to a problem? Please describe.
I want to make a distributable podman-tui config, which will relate to bundled env variables, but services' URI read from config file as is, so only full path required.
That's why it's not possible to replace this
[services]
[services.localhost]
default = true
uri = "unix:///Users/tony/.local/share/containers/podman/machine/qemu/podman.sock"
with this
[services]
[services.localhost]
default = true
uri = "unix://${XDG_DATA_HOME}/containers/podman/machine/qemu/podman.sock"
Describe the solution you'd like
Here
Lines 10 to 27 in bed5d26
add env variable substitution
Additional context
Add any other context or screenshots about the feature request here.
Nope