apple / apple/container

[Bug]: Container machine doesn't support Ubuntu

Open
#1,669 5 comments 12 reactions 1 assignee Claimed by @jglogan 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
- [x] If possible, I've reproduced the issue using the 'main' branch of this project

### Steps to reproduce

```bash
❯ container machine create ubuntu --name ubuntu --set-default
Error: failed to boot container machine (cause: "internalError: "XPC timeout for request to com.apple.container.core.machine-apiserver/bootMachine"")

❯ container machine run
Error: failed to start process db666ace-8423-4ca7-a289-9f03050d0b15 in container ubuntu-d776e6 (cause: "invalidState: "failed to exec: container must be running"")

❯ container machine stop
ubuntu

❯ container machine run
Error: failed to start process d142d1aa-0387-4303-8f5e-9e6fac787be0 in container ubuntu-b8f211 (cause: "internalError: "failed to start process (cause: "internalError: "startProcess: failed to start process: internalError: "vmexec error: internalError: " Error Domain=NSPOSIXErrorDomain Code=3 "No such process""" (cause: "internalError: "no PID data from sync pipe"")"")"")

❯ container machine create ubuntu:24.04 --name ubuntu --set-default
Error: failed to create process in container (cause: "internalError: "failed to create process 4888a10a-8483-46f0-8ffb-62ce36e4e22f in container ubuntu-359799 (cause: "invalidState: "cannot exec: container is not running"")"")
```

### Problem description

I tried running Ubuntu using the `container machine` command with both the `latest` and `24.04` tags, but neither worked. The Alpine image works, though.

### Environment

```markdown
- OS: 26.5.1 (25F80)
- Xcode: 26.5
- Container: 1.0.0 (build: release, commit: ee848e3)
```

### 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.