apple / apple/container

[Bug]: DecodingError.keyNotFound 'address' error when starting container

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

### Steps to reproduce

```
$ container run --rm --platform=linux/amd64 ubuntu:26.04 bash
```

### Problem description

The above command emits the error:

> Error: DecodingError.keyNotFound: Key 'address' not found in keyed decoding container.
> Path: `[0].running._1.`
> Debug description: No value associated with key `CodingKeys(stringValue: "address", intValue: nil)` ("address").

The problem goes away when running `container system stop && container system start`.

### Environment

```markdown
- OS: macOS 26.5 (25F71)
- Xcode: Command Line Tools for Xcode 26.5
- Container: `container CLI version 0.6.0 (build: release, commit: a23bcf0)`
```

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