Skip to content

[Bug]: Image save error output is too low-level. #874

Closed

Description

@jglogan

I have done the following

  • I have searched the existing issues
  • If possible, I've reproduced the issue using the 'main' branch of this project

Steps to reproduce

Here's the example from the related #712

% container image pull --platform linux/arm64 alpine:latest
% container image save --output image.tar alpine:latest
Error: notFound: "Content with digest sha256:85f2b723e106c34644cd5851d7e81ee87da98ac54672b29947c052a45d31dc2f"
/Users/john/Documents/sandboxes % container image save --platform linux/arm64 --output image.tar alpine:latest
alpine:latest  

This shows the developer level root cause of the problem. The user-level root cause is "I tried to save platform X but could only find content for platforms (A, B)".

With #712 fixed we could still hit this issue if I were to do:

container image pull --platform linux/arm64 alpine:latest
container image save --platform linux/amd64 --output image.tar alpine:latest

So making the error message more user-friendly is still a must.

Current behavior

image save shows the developer-level cause of the failure.

Expected behavior

image save shows the user-level cause of the failure.

Environment

- OS: 26
- Xcode: 26
- Container: 0.6.0

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added this to the 2025-11 milestone on Nov 13, 2025
  2. added theissue type on Nov 13, 2025
  3. modified the milestones: 2025-11, 2025-12 on Dec 8, 2025
  4. modified the milestones: 2025-12, 2026-02 on Jan 24, 2026
  5. modified the milestones: 2026-02, 2026-03 on Feb 11, 2026
  6. added a commit that references this issue on Apr 20, 2026
    49079da
  7. added a commit that references this issue on Aug 28, 2026
    395e250
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions