Repository navigation
Closed
Closed
Copy link
Description
I have done the following
- I have searched the existing issues
- If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
I am building from current main and now can't even get container to start. Have rebooted multiple times and cleaned the build directory, the issue persists.
$ git rev-parse HEAD
9fd15f01bf0f7caf757b66e17ac3f8e1be432bde
$ sudo BUILD_CONFIGURATION=release make all install
Building container binaries...
swift-driver version: 1.127.15 Apple Swift version 6.2.4 (swiftlang-6.2.4.1.4 clang-1700.6.4.2)
Target: arm64-apple-macosx26.0
[1/1] Planning build
Building for production...
[10/10] Compiling SwiftProtobuf AnyMessageStorage.swift
Build complete! (23.59s)
make[1]: Entering directory '/Users/n8henrie/git/container'
Installing container binaries from /Users/n8henrie/git/container/.build/arm64-apple-macosx/release into bin/release/staging/...
Install update script
Install uninstaller script
Signing container binaries...
bin/release/staging/bin/container: replacing existing signature
bin/release/staging/bin/container-apiserver: replacing existing signature
bin/release/staging/libexec/container/plugins/container-core-images/bin/container-core-images: replacing existing signature
bin/release/staging/libexec/container/plugins/container-runtime-linux/bin/container-runtime-linux: replacing existing signature
bin/release/staging/libexec/container/plugins/container-network-vmnet/bin/container-network-vmnet: replacing existing signature
Creating application installer
pkgbuild: Inferring bundle components from contents of bin/release/staging/
pkgbuild: Wrote package to bin/release/container-installer-unsigned.pkg
Installing container installer package
make[1]: Leaving directory '/Users/n8henrie/git/container'
Building initfs if containerization is in edit mode
Installing container binaries from /Users/n8henrie/git/container/.build/arm64-apple-macosx/release into bin/release/staging/...
Install update script
Install uninstaller script
Signing container binaries...
bin/release/staging/bin/container: replacing existing signature
bin/release/staging/bin/container-apiserver: replacing existing signature
bin/release/staging/libexec/container/plugins/container-core-images/bin/container-core-images: replacing existing signature
bin/release/staging/libexec/container/plugins/container-runtime-linux/bin/container-runtime-linux: replacing existing signature
bin/release/staging/libexec/container/plugins/container-network-vmnet/bin/container-network-vmnet: replacing existing signature
Creating application installer
pkgbuild: Inferring bundle components from contents of bin/release/staging/
pkgbuild: Wrote package to bin/release/container-installer-unsigned.pkg
Installing container installer package
installer: Package name is container-installer-unsigned
installer: Installing at base path /
installer: The install was successful.
$ /usr/local/bin/container system start
Registering API server with launchd...
Verifying apiserver is running...Current behavior
container hangs indefinitely
Expected behavior
system should start
Environment
$ sw_vers
ProductName: macOS
ProductVersion: 26.3.2
BuildVersion: 25D2140
$ xcodebuild -version
Xcode 26.3
Build version 17C529Relevant log output
N/ACode of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels
Activity
jglogan commentedon Mar 19, 2026
Hi @n8henrie What does the
sw_verscommand output on your system?Could you stop your
container system start, and then runcontainer system stop?Then in another terminal run a command to stream the relevant OS log messages:
log stream --debug --info --predicate 'subsystem = "com.apple.container" or subsystem = "com.apple.NetworkSharing"'Then, try
container system startand let it hang.Finally, copy the OS log messages you captured and paste them into a code block (or upload a log.txt file) here.
manojmahapatra commentedon Mar 19, 2026
Looks like a dupe of #1319, likely similar issues.
n8henrie commentedon Mar 19, 2026
@jglogan
Thanks for your time -- this information is in my initial post above, formatted in a codeblock. Please search for
sw_vers.container system stopalso hangs indefinitely (for at least the last few minutes):The logs repeat with
cannot find any plugins with type network:@manojmahapatra perhaps a duplicate, but I'm not yet sure -- for example I'm not seeing references to vmnet as noted in that issue.
manojmahapatra commentedon Mar 19, 2026
@n8henrie Thanks for providing the logs. This does not look like the same issue as #1319. can you please try a few things,
1/ force boot-out any stale services:
2/ start with explicit install root:
3/ share the outputs of:
and confirm the
CONTAINER_INSTALL_ROOTvalue.katiewasnothere commentedon Mar 19, 2026
@n8henrie Could you try running
launchctl bootout com.apple.container.apiserver?Then do:
make clean cleancontentsudo BUILD_CONFIGURATION=release make all installIn the second set of logs you provided, it's interesting that the apiserver is looking for plugins in
/Users/n8henrie/git/container/.build/libexec/container/plugins. Did you previously try to run container from the.builddirectory directly? If so, that would not work since the binaries in that directory have not been signed (see makefile)edit: oops @manojmahapatra beat me to posting this :D
n8henrie commentedon Mar 20, 2026
Really appreciate the help here.
@katiewasnothere -- yes I had previously tried to just
swift build -c releaseand run from.build(generally try not tomake installor elevate privileges until I'm done exploring a new project and decided whether or not to keep it around). But I had subsequently cleaned (but notcleancontented) and assumed all traces of the prior build would have been removed. ¯\_(ツ)_/¯Had already
bootouted everything but will do again....
Well after all that things seems to be working now, many thanks for such prompt help!
For future readers, the steps I took to get things working again:
container system stoplaunchctl bootout gui/$UID/com.apple.container.apiserver/usr/local/bin/uninstall-container.sh -kmake clean cleancontentsudo BUILD_CONFIGURATION=release make all install