You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: The container command is not responding. #1319
If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
The container command is unresponsive. Both container system start and container ls are doing nothing, and I can't even stop it with container system stop. Mac OS 26.3.1,container 0.10.0 and 0.8.0
@hqzqaq I saw your logs on #713 and followed up there, but instead of continuing on that thread, let me copy my post from there to here, and discuss on this thread.
What does the sw_vers command output on your system?你的系统上的sw_vers命令会输出什么内容?
Could you try the same thing you did before, but instead of using container system logs --follow, use this:你能像之前那样再试一次吗?不过不要用container system logs --follow,改用这个:
log stream --debug --info --predicate 'subsystem = "com.apple.container" or subsystem = "com.apple.NetworkSharing"'
That will provide more insight into the error message you see in the first log.这将让你更深入地了解在第一个日志中看到的错误信息。
hqzqaq@hqzqaqdeMac-mini-2 ~ % log stream --debug --info --predicate 'subsystem = "com.apple.container" or subsystem = "com.apple.NetworkSharing"'
Filtering the log data using "subsystem ==[cd] "com.apple.container" OR subsystem ==[cd] "com.apple.NetworkSharing""
Timestamp Thread Type Activity PID TTL
2026-03-20 09:34:50.677758+0800 0xc2eb7 Info 0x0 51684 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] starting container-network-vmnet [id=default]
2026-03-20 09:34:50.678207+0800 0xc2eb7 Info 0x0 51684 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] configuring XPC server [id=default]
2026-03-20 09:34:50.680199+0800 0xc2eb7 Info 0x0 51684 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] creating vmnet network [id=default]
2026-03-20 09:34:50.680224+0800 0xc2eb7 Info 0x0 51684 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] created vmnet network [id=default]
2026-03-20 09:34:50.681249+0800 0xc2eb7 Info 0x0 51684 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] starting vmnet network [mode=nat] [id=default]
2026-03-20 09:34:50.683919+0800 0xc2eb7 Info 0x0 51684 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] connection 0x105d6ef60 to daemon created
2026-03-20 09:34:50.684002+0800 0xc2eb7 Info 0x0 51684 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] listener connection 0xa9b4a4000 created
2026-03-20 09:34:50.684029+0800 0xc2eb7 Info 0x0 51684 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] client 0x105d714c0 xpc send -> client create
2026-03-20 09:34:50.684247+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] connection 0x860cc4000 event from client
2026-03-20 09:34:50.685601+0800 0xc2eb7 Info 0x0 51684 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] client 0x105d714c0 create xpc response received
2026-03-20 09:34:50.685533+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] client created <private> (0x860ccc000) (<private>), client connection 0x860cc4000 remote connection 0x861040280
2026-03-20 09:34:50.685567+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] sending reply 0x860cc4000:
<private>
2026-03-20 09:34:50.685667+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] netrbCreateNetwork: set ext if to any external
2026-03-20 09:34:50.685680+0800 0xc241c Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_set_external_interface: ext_if <private> already exists, reusing
2026-03-20 09:34:50.685688+0800 0xc241c Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_set_external_interface: added ext if<private> to network <private>
2026-03-20 09:34:50.685696+0800 0xc241c Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] netrbCreateNetwork: ext if already created
2026-03-20 09:34:50.685709+0800 0xc241c Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_fill_default_options: generated ULA prefix <private>/64, network <private>
2026-03-20 09:34:50.685719+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_fill_default_options: set ext if to any external
2026-03-20 09:34:50.686107+0800 0xc241c Default 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_get_security_domain: failed to get xpc client attributes
2026-03-20 09:34:50.686171+0800 0xc2eb7 Default 0x0 51684 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] _NETRBCreateNetwork_block_invoke_2: interface creation failed
2026-03-20 09:34:50.686126+0800 0xc241c Default 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] netrbCreateNetwork: mis_network_get_security_domain failed
2026-03-20 09:34:50.686200+0800 0xc2eb7 Default 0x0 51684 0 container-network-vmnet: (vmnet) [com.apple.NetworkSharing:framework.vmnet] vmnet_network_create: _NETRBCreateNetwork
2026-03-20 09:34:50.686140+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] sending reply 0x860cc4000:
<private>
2026-03-20 09:34:50.687988+0800 0xc2eb7 Error 0x0 51684 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] container-network-vmnet failed [id=default] [error=unsupported: "failed to create vmnet network with status vmnet_return_t(rawValue: 1001)"]
2026-03-20 09:34:50.688968+0800 0xc241c Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] received connection error 0x860cc4000:Connection invalid
2026-03-20 09:34:50.689018+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] found client 0x860ccc000 for connection 0x860cc4000
2026-03-20 09:34:50.689034+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] releasing remote connection 0x861040280 to client
2026-03-20 09:34:50.689048+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_client_release: stopping all networks of <private>
2026-03-20 09:34:50.689061+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] detached from <private> (0x860ccc000)
2026-03-20 09:34:50.689073+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] no clients left; resuming idle timer
2026-03-20 09:34:50.689117+0800 0xc241c Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] event on remote connection 0x861040280 from client connection 0x860cc4000
2026-03-20 09:35:00.792518+0800 0xc2f91 Info 0x0 51687 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] starting container-network-vmnet [id=default]
2026-03-20 09:35:00.793110+0800 0xc2f91 Info 0x0 51687 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] configuring XPC server [id=default]
2026-03-20 09:35:00.794408+0800 0xc2f91 Info 0x0 51687 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] creating vmnet network [id=default]
2026-03-20 09:35:00.794431+0800 0xc2f91 Info 0x0 51687 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] created vmnet network [id=default]
2026-03-20 09:35:00.794939+0800 0xc2f91 Info 0x0 51687 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] starting vmnet network [mode=nat] [id=default]
2026-03-20 09:35:00.798741+0800 0xc2f91 Info 0x0 51687 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] connection 0x1070dafa0 to daemon created
2026-03-20 09:35:00.798847+0800 0xc2f91 Info 0x0 51687 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] listener connection 0x99b47c000 created
2026-03-20 09:35:00.798875+0800 0xc2f91 Info 0x0 51687 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] client 0x1070dd500 xpc send -> client create
2026-03-20 09:35:00.798973+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] connection 0x860cc4000 event from client
2026-03-20 09:35:00.799096+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] client created <private> (0x860ccc000) (<private>), client connection 0x860cc4000 remote connection 0x8610403c0
2026-03-20 09:35:00.799144+0800 0xc241c Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] sending reply 0x860cc4000:
<private>
2026-03-20 09:35:00.799178+0800 0xc2f91 Info 0x0 51687 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] client 0x1070dd500 create xpc response received
2026-03-20 09:35:00.799236+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] netrbCreateNetwork: set ext if to any external
2026-03-20 09:35:00.799253+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_set_external_interface: ext_if <private> already exists, reusing
2026-03-20 09:35:00.799264+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_set_external_interface: added ext if<private> to network <private>
2026-03-20 09:35:00.799273+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] netrbCreateNetwork: ext if already created
2026-03-20 09:35:00.799287+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_fill_default_options: generated ULA prefix <private>/64, network <private>
2026-03-20 09:35:00.799295+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_fill_default_options: set ext if to any external
2026-03-20 09:35:00.799765+0800 0xc2f97 Default 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_get_security_domain: failed to get xpc client attributes
2026-03-20 09:35:00.799823+0800 0xc2f91 Default 0x0 51687 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] _NETRBCreateNetwork_block_invoke_2: interface creation failed
2026-03-20 09:35:00.799782+0800 0xc2f97 Default 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] netrbCreateNetwork: mis_network_get_security_domain failed
2026-03-20 09:35:00.799851+0800 0xc2f91 Default 0x0 51687 0 container-network-vmnet: (vmnet) [com.apple.NetworkSharing:framework.vmnet] vmnet_network_create: _NETRBCreateNetwork
2026-03-20 09:35:00.799795+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] sending reply 0x860cc4000:
<private>
2026-03-20 09:35:00.800693+0800 0xc2f91 Error 0x0 51687 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] container-network-vmnet failed [id=default] [error=unsupported: "failed to create vmnet network with status vmnet_return_t(rawValue: 1001)"]
2026-03-20 09:35:00.801314+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] received connection error 0x860cc4000:Connection invalid
2026-03-20 09:35:00.801336+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] found client 0x860ccc000 for connection 0x860cc4000
2026-03-20 09:35:00.801345+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] releasing remote connection 0x8610403c0 to client
2026-03-20 09:35:00.801351+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_client_release: stopping all networks of <private>
2026-03-20 09:35:00.801356+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] detached from <private> (0x860ccc000)
2026-03-20 09:35:00.801362+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] no clients left; resuming idle timer
2026-03-20 09:35:00.801389+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] event on remote connection 0x8610403c0 from client connection 0x860cc4000
2026-03-20 09:35:10.912452+0800 0xc2ffb Info 0x0 51690 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] starting container-network-vmnet [id=default]
2026-03-20 09:35:10.912931+0800 0xc2ffb Info 0x0 51690 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] configuring XPC server [id=default]
2026-03-20 09:35:10.914102+0800 0xc2ffb Info 0x0 51690 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] creating vmnet network [id=default]
2026-03-20 09:35:10.914126+0800 0xc2ffb Info 0x0 51690 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] created vmnet network [id=default]
2026-03-20 09:35:10.914591+0800 0xc2ffb Info 0x0 51690 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] starting vmnet network [mode=nat] [id=default]
2026-03-20 09:35:10.917723+0800 0xc2ffb Info 0x0 51690 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] connection 0x1080a2ef0 to daemon created
2026-03-20 09:35:10.917827+0800 0xc2ffb Info 0x0 51690 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] listener connection 0xacd4a4000 created
2026-03-20 09:35:10.917859+0800 0xc2ffb Info 0x0 51690 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] client 0x1080a5450 xpc send -> client create
2026-03-20 09:35:10.917933+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] connection 0x860cc4000 event from client
2026-03-20 09:35:10.918036+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] client created <private> (0x860ccc000) (<private>), client connection 0x860cc4000 remote connection 0x861040280
2026-03-20 09:35:10.918081+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] sending reply 0x860cc4000:
<private>
2026-03-20 09:35:10.918117+0800 0xc2ffb Info 0x0 51690 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] client 0x1080a5450 create xpc response received
2026-03-20 09:35:10.918174+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] netrbCreateNetwork: set ext if to any external
2026-03-20 09:35:10.918189+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_set_external_interface: ext_if <private> already exists, reusing
2026-03-20 09:35:10.918198+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_set_external_interface: added ext if<private> to network <private>
2026-03-20 09:35:10.918205+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] netrbCreateNetwork: ext if already created
2026-03-20 09:35:10.918220+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_fill_default_options: generated ULA prefix <private>/64, network <private>
2026-03-20 09:35:10.918229+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_fill_default_options: set ext if to any external
2026-03-20 09:35:10.918626+0800 0xc2f97 Default 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_network_get_security_domain: failed to get xpc client attributes
2026-03-20 09:35:10.918643+0800 0xc2f97 Default 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] netrbCreateNetwork: mis_network_get_security_domain failed
2026-03-20 09:35:10.918659+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] sending reply 0x860cc4000:
<private>
2026-03-20 09:35:10.918688+0800 0xc2ffb Default 0x0 51690 0 container-network-vmnet: (Netrb) [com.apple.NetworkSharing:framework.netrb] _NETRBCreateNetwork_block_invoke_2: interface creation failed
2026-03-20 09:35:10.918716+0800 0xc2ffb Default 0x0 51690 0 container-network-vmnet: (vmnet) [com.apple.NetworkSharing:framework.vmnet] vmnet_network_create: _NETRBCreateNetwork
2026-03-20 09:35:10.919653+0800 0xc2ffb Error 0x0 51690 0 container-network-vmnet: [com.apple.container:NetworkVmnetHelper] container-network-vmnet failed [id=default] [error=unsupported: "failed to create vmnet network with status vmnet_return_t(rawValue: 1001)"]
2026-03-20 09:35:10.920283+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] received connection error 0x860cc4000:Connection invalid
2026-03-20 09:35:10.920347+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] found client 0x860ccc000 for connection 0x860cc4000
2026-03-20 09:35:10.920361+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] releasing remote connection 0x861040280 to client
2026-03-20 09:35:10.920391+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] mis_client_release: stopping all networks of <private>
2026-03-20 09:35:10.920404+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] detached from <private> (0x860ccc000)
2026-03-20 09:35:10.920415+0800 0xc2f97 Debug 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] no clients left; resuming idle timer
2026-03-20 09:35:10.920512+0800 0xc2f97 Info 0x0 6358 0 InternetSharing: [com.apple.NetworkSharing:daemon] event on remote connection 0x861040280 from client connection 0x860cc4000
@hqzqaq Your logs show the root cause container-network-vmnet keeps failing to create the NAT network because the InternetSharing daemon rejects it with mis_network_get_security_domain: failed to get xpc client attributes (vmnet error 1001). It retries every ~10 seconds but never succeeds, which is why all commands hang.
I think this is same macOS 26.x issue as #1254 ( much of what i think) the security validation for vmnet XPC clients seems to have changed.
I'm not convinced this is related to #1254 at this time.
@hqzqaq what do you see when you run launchctl list | grep 'com\.apple\.container\.'? Was this previously working and then something happened (eg system reboot, updated the container install, etc)? How was container installed and run?
I'm not convinced this is related to #1254 at this time.目前我不认为这与#1254有关。
@hqzqaq what do you see when you run launchctl list | grep 'com\.apple\.container\.'? Was this previously working and then something happened (eg system reboot, updated the container install, etc)? How was container installed and run?@hqzqaq 当你运行launchctl list | grep 'com\.apple\.container\.'时会看到什么?这个功能以前是正常工作的,后来是不是发生了什么情况(比如系统重启、更新了容器安装等)?container是如何安装和运行的?
I’ll have to get back to you on this next Monday; I left my Mac at the office.
I'm not convinced this is related to #1254 at this time.
@hqzqaq what do you see when you run launchctl list | grep 'com\.apple\.container\.'? Was this previously working and then something happened (eg system reboot, updated the container install, etc)? How was container installed and run?
Here are the steps I took and the corresponding output:
I downloaded the binary from GitHub Releases. Initially, I installed version 0.10.0, but it failed to start. After uninstalling it, I performed a clean install of version 0.8.0, which resulted in the output shown above.
It seems the network-vmnet service exited with code 1. Any suggestions on how to debug this?
@hqzqaq When you say you uninstalled container and performed a clean install, what exact steps did you take to do that? Could you provide the output of sw_vers as well?
container-network-vmnet plugin is failing with the vmnet_return_t(rawValue: 1001) error in the logs you provided above, which is causing the service to show as failed in launchd.
@hqzqaq When you say you uninstalled container and performed a clean install, what exact steps did you take to do that? Could you provide the output of sw_vers as well?
container-network-vmnet plugin is failing with the vmnet_return_t(rawValue: 1001) error in the logs you provided above, which is causing the service to show as failed in launchd.
I uninstalled the previous version by executing the uninstall-container.sh script located in the usr/local/bin directory.
@hqzqaq Sorry for the delayed response. Are you still seeing this issue? When you ran uninstall-container.sh what option did you provide? -d or -k. I would try with -d if you have not already, but note that this command will remove the user data you have for container.
@hqzqaq Sorry for the delayed response. Are you still seeing this issue? When you ran uninstall-container.sh what option did you provide? -d or -k. I would try with -d if you have not already, but note that this command will remove the user data you have for container.@hqzqaq 抱歉回复延迟。你是否仍遇到此问题?运行 uninstall-container.sh 时你选择了哪个选项?-d 还是 -k。如果你还没试过,我建议用 -d 试试,但要注意此命令会删除你为 container 保存的用户数据。
Thanks for the reply. I used -d to uninstall, but I'm still seeing the same issue. What should be the next step for troubleshooting?
I had a similar issue on v0.12.3 installed with Nix and it is gone on v1.0.0 installed with Brew. Might be gone on v1.0.0.我在通过 Nix 安装的 v0.12.3 版本上也遇到过类似问题,而在通过 Brew 安装的 v1.0.0 版本上这个问题就消失了。v1.0.0 版本上问题应该也会消失。
One more thing. This might or might not be relevant, and it might deserve its own issue. For me everything started because the build of a Containerfile over 16000 bytes but under 16400 failed with Error: unavailable: "Stream unexpectedly closed.", and after that I just tried to run container system stop && container system start and there is when the command hung.
Activity
saehejkang commentedon Mar 18, 2026
I was running into the same issue before and opened a discussion on it here. Take a look and hopefully that solves your issues!
jglogan commentedon Mar 19, 2026
@hqzqaq I saw your logs on #713 and followed up there, but instead of continuing on that thread, let me copy my post from there to here, and discuss on this thread.
jglogan commentedon Mar 19, 2026
@hqzqaq Thanks for providing the logs!
What does the
sw_verscommand output on your system?Could you try the same thing you did before, but instead of using
container system logs --follow, use this:log stream --debug --info --predicate 'subsystem = "com.apple.container" or subsystem = "com.apple.NetworkSharing"'That will provide more insight into the error message you see in the first log.
manojmahapatra commentedon Mar 19, 2026
it appears another container runtime is using vmnet?
hqzqaq commentedon Mar 20, 2026
Ronitsabhaya75 commentedon Mar 20, 2026
@hqzqaq Your logs show the root cause
container-network-vmnetkeeps failing to create theNAT networkbecause theInternetSharing daemon rejects it with mis_network_get_security_domain: failed to get xpc client attributes (vmnet error 1001). It retries every ~10 seconds but never succeeds, which is why all commands hang.I think this is same macOS 26.x issue as #1254 ( much of what i think) the security validation for
vmnet XPC clientsseems to have changed.katiewasnothere commentedon Mar 20, 2026
I'm not convinced this is related to #1254 at this time.
@hqzqaq what do you see when you run
launchctl list | grep 'com\.apple\.container\.'? Was this previously working and then something happened (eg system reboot, updated the container install, etc)? How wascontainerinstalled and run?hqzqaq commentedon Mar 21, 2026
I’ll have to get back to you on this next Monday; I left my Mac at the office.
hqzqaq commentedon Mar 23, 2026
Here are the steps I took and the corresponding output:
Execution command:
Check service status:
Output:
I downloaded the binary from GitHub Releases. Initially, I installed version 0.10.0, but it failed to start. After uninstalling it, I performed a clean install of version 0.8.0, which resulted in the output shown above.
It seems the
network-vmnetservice exited with code 1. Any suggestions on how to debug this?katiewasnothere commentedon Mar 23, 2026
@hqzqaq When you say you uninstalled
containerand performed a clean install, what exact steps did you take to do that? Could you provide the output ofsw_versas well?container-network-vmnetplugin is failing with thevmnet_return_t(rawValue: 1001)error in the logs you provided above, which is causing the service to show as failed in launchd.hqzqaq commentedon Mar 24, 2026
I uninstalled the previous version by executing the
uninstall-container.shscript located in theusr/local/bindirectory.hqzqaq@hqzqaqdeMac-mini-2 ~ % sw_vers ProductName: macOS ProductVersion: 26.3.1 ProductVersionExtra: (a) BuildVersion: 25D771280akatiewasnothere commentedon Apr 13, 2026
@hqzqaq Sorry for the delayed response. Are you still seeing this issue? When you ran
uninstall-container.shwhat option did you provide?-dor-k. I would try with-dif you have not already, but note that this command will remove the user data you have forcontainer.hqzqaq commentedon Apr 14, 2026
Thanks for the reply. I used
-dto uninstall, but I'm still seeing the same issue. What should be the next step for troubleshooting?jakubkaczor commentedon Jul 5, 2026
I had a similar issue on v0.12.3 installed with Nix and it is gone on v1.0.0 installed with Brew. Might be gone on v1.0.0.
hqzqaq commentedon Jul 5, 2026
Thanks, I'll try your installation method later.
zubieta commentedon Sep 3, 2026
I was having the same issue and killing
NetworkSharingworked to unstuck container. In case this is useful to anyone else.I had to run:
sudo launchctl list | grep -iE 'NetworkSharing|bootp|InternetSharing'sudo kill -9 <PID>container system stop && container system startI installed through nix.
zubieta commentedon Sep 3, 2026
One more thing. This might or might not be relevant, and it might deserve its own issue. For me everything started because the build of a Containerfile over 16000 bytes but under 16400 failed with
Error: unavailable: "Stream unexpectedly closed.", and after that I just tried to runcontainer system stop && container system startand there is when the command hung.Crash.ContainerfileDetails
Success.ContainerfileDetails