apple / apple/container

[Bug]: On first container build, XPC timeout for request to com.apple.container.apiserver/containerCreate

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

### Steps to reproduce

Follow the steps in `docs/tutorial.md`, until and including running the command `container build --tag web-test --file Dockerfile .`

### Current behavior

On the terminal, I receive the following error:

```
Error: internalError: "failed to create container" (cause: "internalError: "XPC timeout for request to com.apple.container.apiserver/containerCreate"")
```

### Expected behavior

Container to build successfully, and for it to be ready to run.

NOTE: Running the build command again did succeed. Maybe the timeout value is not appropriate, or maybe there's some other race condition at play.

### Environment

```markdown
- OS: macOS 26.0.1 (25A362)
- Xcode: 26.0.1
- Container: container CLI version 0.6.0 (build: release, commit: unspeci)
```

### Relevant log output

```shell

```

### Code of Conduct

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.