Files
podman/docs/source/markdown/options/dns-search.container.md
Jan Kaluza 9de737bf29 Change the syntax to not depend on jinja2.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2025-09-02 16:04:34 +02:00

620 B

####> This option file is used in: ####> podman podman-container.unit.5.md.in, create, podman-pod.unit.5.md.in, run ####> If file is edited, make sure the changes ####> are applicable to all of those. << if is_quadlet >>

DNSSearch=domain

<< else >>

--dns-search=domain

<< endif >>

Set custom DNS search domains. Invalid if using << 'DNSSearch=' if is_quadlet else '--dns-search' >> with with << 'Network=' if is_quadlet else '--network' >> that is set to none or container:id. Use << 'DNSSearch=.' if is_quadlet else '--dns-search=.' >> to remove the search domain.