Skip to content

[Bug]: The /etc/hosts file is not created by default #314

@afbjorklund

Description

@afbjorklund

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

I am missing entries for localhost and hostname, in the newly created container.

Current behavior

The /etc/hosts file is missing.

/ # hostname -i
hostname: 265508e3-df31-4cc4-9668-2ac902e1075a: Host not found

Expected behavior

The /etc/hosts to be created.

/ # hostname -i
192.168.105.185

Environment

- OS: 15.5
- Xcode: 16.4
- Container: 0.2.0

Relevant log output

Code of Conduct

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

Metadata

Metadata

Assignees

Labels

nextMust-have items for current and next milestone

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions