apple / apple/container

[Bug]: Image pull fails with no diagnostic information.

Open
#291 1 comment 0 reactions 1 assignee Claimed by @adityaramani 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

```console
% container --debug image pull docker.io/crossplane-contrib/provider-upjet-alibabacloud:v0.3.0
Warning! Running debug build. Performance may be degraded.
Error: interrupted: "interrupted: "XPC connection error: Connection interrupted"
Ensure container system service has been started with `container system start`."
```

Logs:

```console
% container system logs -f
Warning! Running debug build. Performance may be degraded.
Filtering the log data using "subsystem == "com.apple.container""
Timestamp Thread Type Activity PID TTL
2025-07-02 15:18:08.443360-0700 0x275a5 Info 0x0 36986 0 container-core-images: [com.apple.container:ImagesHelper] ImagesService: pull(reference:platform:insecure:progressUpdate:) - ref: docker.io/crossplane-contrib/provider-upjet-alibabacloud:v0.3.0, platform: nil, insecure: false
```

### Current behavior

Image pull fails with no usable diagnostics.

`docker pull` outputs an `unknown blob` on Colima, and fails as well, so it's not really any better in this case.

### Expected behavior

I can see what it is that is wrong with the failed pull. In this case I think the content for `sha256:db986d9fafd598981180049c3a036febaee79f4fe7ee271329f660da725fa437` is not present in the registry.

### Environment

```markdown
- OS: macOS 15
- Xcode: 17 beta
- Container: `container CLI version 0.2.0-1-g9eb2f86 (build: debug, commit: 9eb2f86)`
```

### Relevant log output

```shell
See above for container.

Output from Colima:

% docker pull docker.io/crossplane-contrib/provider-upjet-alibabacloud:v0.3.0
v0.3.0: Pulling from crossplane-contrib/provider-upjet-alibabacloud
1a4eedcebcc5: Pull complete
24058aba9b56: Downloading
61a091688c05: Download complete
5617b1776b3d: Download complete
b1055e01c0fc: Download complete
3e97b1dee806: Download complete
d56435295086: Download complete
64e135a0d49c: Download complete
2bab29d6c60b: Download complete
54ddc8c75916: Download complete
unknown blob

%
```

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