containers / podman

Podman: A tool for managing OCI containers and pods.
https://podman.io
Apache License 2.0
23.77k stars 2.42k forks source link

support `--dns` in Quadlet #19884

Closed vrothberg closed 1 year ago

vrothberg commented 1 year ago

Feature request description

At the time of writing, Quadlet does not support the --dns flag in form of a field.

Noticed while reviewing a blog post that is resorting to PodmanArgs=--dns=....

Suggest potential solution

Add a DNS field to .container filees.

Have you considered any alternatives?

PodmanArgs is a work around but not idiomatic.

Additional context

Cc: @ygalblum @rhatdan

ryanhockstad commented 1 year ago

I can work on this issue. Could someone set the 'in progress' label?

rhatdan commented 1 year ago

You got it.

rhatdan commented 1 year ago

If you do this, you should add --dns-option, --dns-search as well as --dns

ryanhockstad commented 1 year ago

Thanks. Just opened a PR here