Skip to content

Commit e3cc507

Browse files
authored
Update technical-overview.md doc with current code (#86)
com.apple.container.defaults default subnet key must be network.subnet, not default.subnet. https://github.com/apple/container/blob/ef4462ead7449eba48c0b682b93e30930047f9ef/Sources/Services/ContainerNetworkService/AllocationOnlyVmnetNetwork.swift#L70
1 parent 20b6325 commit e3cc507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/technical-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Normally, vmnet creates the container network using the CIDR address 192.168.64.
8585
- Run `container system stop` to terminate the services for `container`.
8686
- Using the macOS `defaults` command, update the default subnet value used by the network helper process. For example, if the bridge address shown by `ifconfig` is 192.168.66.1, run:
8787
```bash
88-
defaults write com.apple.container.defaults default.subnet 192.168.66.1/24
88+
defaults write com.apple.container.defaults network.subnet 192.168.66.1/24
8989
```
9090
- Run `container system start` to launch services again.
9191
- Try running the container again and verify that its IP address matches the current bridge interface value.

0 commit comments

Comments
 (0)