apple / apple/container

[Bug]: Networking issue.

Open
#1,986 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
49.9k
Forks
1.8k
Avg merge
1d 20h
Merged PRs (30d)
22

Description

### I have done the following

- [x] I have searched the existing issues
- [ ] If possible, I've reproduced the issue using the 'main' branch of this project

### Steps to reproduce

Create a container network and change the ips, if you are on home router just restart router and the new dynamic ip assigned will break networking.

### Problem description

OK So apple containers have a huge problem, the internal networking of containers handout ips, because it has no internal dns service to resolve containers address using names or host name, this is a huge problem, i spent a day debugging this since yesterday. Now realising the issue is not in the code but the apple container's which used wifi connection to hand out ips to the containers, when the network changed it stopped working. i tried rebuilding multiple times but nothing happened, eventually a mac restart solved it. There should be some kind of dns system for proper networking.

### Environment

```markdown
- OS:
- Xcode:
- Container:
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are named. First reproduce the failure by creating a container network, changing the host network address, and recording the missing environment details; then trace the networking behavior and define done as container networking recovering after the address changes with names resolvable internally.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.