apple / apple/container

[Bug]: Network is unreachable after turning on VPN

Open
#1,307 13 comments 10 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
- [x] If possible, I've reproduced the issue using the 'main' branch of this project

### Steps to reproduce

Reproduce:
1. container system start
2. container start -ai ubuntu
3. open and connect to VPN on MAC host

### Current behavior

then the client ubuntu container can no longer connect to internet

### Expected behavior

then the client ubuntu container should connect to internet stably

### Environment

```markdown
- OS: Tahoe 26.2
- Xcode: xcode-select version 2416
- Container: container CLI version 0.9.0-35-g899081d (build: release, commit: 899081d)
```

### Relevant log output

```shell
N/A
```

### Code of Conduct

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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with `container system start`, an interactive Ubuntu container, and a connected VPN on the macOS host. No source file or test is named, so trace the container networking behavior during VPN connection and compare it with the expected stable internet access. Done means the Ubuntu container remains able to connect to the internet after the VPN is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.