apple/container

[Request]: system property for default `--dns`.

Open

#1,449 opened on Apr 25, 2026

View on GitHub
 (0 comments) (1 reaction) (0 assignees)Swift (752 forks)batch import
good first issuenetworknextux

Repository metrics

Stars
 (26,498 stars)
PR merge metrics
 (Avg merge 1d 17h) (60 merged PRs in 30d)

Description

Feature or enhancement request details

NOTE: Depends on #1425; there's no point tackling this until the TOML configuration is in place.

We've a number of issues relating to DNS resolution from containers not working properly when a third party DNS server conflicts with the server that macOS mDNSResponder wants to start.

Until an OS-level solution can be provided, it would be useful to have a system property (and potentially environment variables if session level overrides seem sensible) that allows the user to configure default values for --dns.

We can also consider properties for the other DNS CLI options here as well.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributor guide