Replies: 1 comment 8 replies
-
|
This is a fundamental limitation of the vmnet framework in macOS 15. The new vmnet APIs for macOS 26 were created to support tools like What makes fixing the problem for Sequoia so tricky is that you need to create a VM to materialize the network in Sequoia. It's only at that time that the subnet CIDR is known. We don't support |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
After a recent bout of having to reset my network stack for macOS 15 (xref #1350) my networking was restored momentarily but then broke again when I updated from release
10.0.0to release0.12.3.At this point all containers were getting assigned IP and DNS addresses within the default (
192.168.64.1/24) subnet rather than the actual one specified by thenetwork.subnetsystem property. I.e. even with that set (viadefaults writeorsystem property set) to "192.168.66.1/24" I would still see in thecontainer system logs -fstream entries like:I believe this regression was introduced via https://github.com/apple/container/pull/1424/changes#diff-a6e22425214f659d9dde69d7d2ffb92340a097f7efc62335d7027874f92b7470 though I haven't quite analyzed how/why as the logic looks superficially somewhat similar just reshuffled somewhat.
It appears that this may be changing anyway with the move to TOML: https://github.com/apple/container/pull/1425/changes#diff-a6e22425214f659d9dde69d7d2ffb92340a097f7efc62335d7027874f92b7470
For now I have worked around by re-installing the 0.11.0 release which predates #1424 and does launch the VM into the specified subnet as before.
UPDATE — see #1677 (comment) for a workaround on newer releases (confirmed myself on 1.0.0 release and likely 0.12.x as well). I removed the whole folder but it might be (unofficially, at-your-own-riskedly!!!) possible to edit a stale subnet value in the
~/Library/Application\ Support/com.apple.container/networks/default/entity.jsonfile to the new desired one.Beta Was this translation helpful? Give feedback.
All reactions