-
Notifications
You must be signed in to change notification settings - Fork 3k
Is there an option to use --config and Go templates for containers? #28463
Description
In containers/podlet#206 we got an feature request to support compose configs, but I can't see such an option in Podman? Especially configs with (Golang or other) templates would be a great feature as it's already in use by Docker and docker-compose.
Docker has a config feature that can be used to create configs for services. Furthermore there's a --template-driver option that can be used to specify a template engine like --template-driver golang. This feature is useful when dynamic configs (or files) shell be linked into a container, e.g. a templated nginx.conf.
Therefore docker-compose also supports configs as can be seen here. But there's no support for the template_driver as of now, but Docker defaults to golang as far as I can tell. compose-spec also has no template_driver, yet, but I can create an issue over there if needed.
The questions here are:
- Does Podman has an equivalent feature?
- Is there a Quadlet option to be used with?
- Has this
configfeature already been discussed? I wasn't able to find a related issue