[Bug]: "queryError("query failure: unhandledError(status: -25308)")" the pulling from private registry
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 image pull --arch amd64 888111111111.test.ecr.eu-central-1.amazonaws.com/aws/crossplane-function/crossplane-xpkg/function:1.0.0
Problem description
results in
Error: error querying keychain for 888111111111.test.ecr.eu-central-1.amazonaws.com (cause: "queryError("query failure: unhandledError(status: -25308)")")
Issue https://github.com/apple/container/issues/704 has the same issue, but was closed without any more information.
Password is saved into keychain correctly. The error happens regardless of the access control settings for the password item
Any steps to debug further?
Environment
- OS: 26.5.1
- Xcode: 26.5
- Container: 1.0.0
Code of Conduct
- [x] I agree to follow this project's Code of Conduct
终于看到 Apple 官方的容器方案了。有个实现细节比较好奇:Containerization 用 Virtualization.framework 直接跑轻量级 VM,相比 Lima/Colima 走 QEMU,在 I/O 密集场景特别是 bind mount 时性能差异大吗?virtio-fs 的实现跟 Docker Desktop 比有没有做针对性优化?另外 lost+found 那个 Issue 估计是 ext4 默认行为,volume 初始化时是不是可以考虑用 mke2fs -m 0 或者干脆用 xfs 来规避?
Based on https://github.com/apple/container/issues/816#issuecomment-3503618765. If you open your keychain and search for your rergistry -> Access Control and add "container-core-images" to the list of "Always allow access by these application:" You should be able to pull/push images to the new registry
@rewantsoni , thanks for the reply.
I have tried with
and the same error happens.
Setting
Does not help either.
@b-m-f are you running container system start via a launch agent or some other non-GUI context (such as an ssh session)?
Alternatively, are you running your container image pull commands from a non-GUI context?
@b-m-f The other question is, have you mixed usage of the apple/container release page distribution and the Homebrew install?
See #1310 for details.
@jglogan homebrew is not installed. container is installed via the GH release.
container system start is run from the terminal.
container image pull is run from the terminal.