Generate /etc/hosts by default by dcantah · Pull Request #423 · apple/container
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 676
Merged
Generate /etc/hosts by default#423
dcantah merged 1 commit intoapple:mainfrom
Generate /etc/hosts by default#423
dcantah merged 1 commit intoapple:mainfrom
Conversation
Copy link
Member
dcantah
commented
Aug 2, 2025
dcantah
commented
Closes: #314
This change uses the new .hosts config entry
on Containerization's LinuxContainer config to setup a default /etc/hosts file in the container. Today the two entries are localhost to 127.0.0.1 and the container's IP to its hostname.
Closes: apple#314 This change uses the new `.hosts` config entry on Containerization's LinuxContainer config to setup a default /etc/hosts file in the container. Today the two entries are localhost to 127.0.0.1 and the container's IP to its hostname.
jglogan approved these changes Aug 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment