You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: image pull --platform doesn't provide any output #1035
Error: Unknown option '--debug'. Did you mean '--debug'?
Usage: container image pull [--debug] [--scheme ] [--disable-progress-updates] [--arch ] [--os ] [--platform ]
See 'container image pull --help' for more information.
container image tag public.ecr.aws/ubuntu/ubuntu:24.04 992382343.dkr.ecr.us-west-2.amazonaws.com/ubuntu/ubuntu:24.04
992382343.dkr.ecr.us-west-2.amazonaws.com/ubuntu/ubuntu:24.04
container image ls
NAME TAG DIGEST
992382343.dkr.ecr.us-west-2.amazonaws.com/ubuntu/ubuntu 24.04 ef59d9e82939bbce08973bdf...
public.ecr.aws/ubuntu/ubuntu 24.04 ef59d9e82939bbce08973bdf...
container image push 992382343.dkr.ecr.us-west-2.amazonaws.com/ubuntu/ubuntu:24.04
Error: notFound: "Content with digest sha256:955364933d0d91afa6e10fb045948c16d2b191114aa54bed3ab5430d8bbc58cc"
the root cause and have a fix ready for this issue.
Problem
The Arch enum in Sources/Services/ContainerAPIService/Client/Arch.swift only recognizes amd64 and arm64, but not the widely-used x86_64 alias. When users specify --arch x86_64 or --platform linux/x86_64, the platform parsing fails silently with no error message.
Solution
I've added architecture name normalization by implementing a custom init?(rawValue:) that accepts common aliases:
x86_64, x86-64 → normalizes to amd64
arm64 → stays as arm64
Case-insensitive matching
This is 100% backward compatible - all existing code using amd64 continues to work.
I'll submit a PR shortly with these changes. Would appreciate review from the maintainers!
Unfortunately that one can't be merged because we're waiting on commits to be signed. This week I'm going to look into swift-argument-parser to see if there's any more elegant way to deal with this.
Activity
naveen1583 commentedon Jan 9, 2026
container image pull --debug public.ecr.aws/ubuntu/ubuntu:24.04
Error: Unknown option '--debug'. Did you mean '--debug'?
Usage: container image pull [--debug] [--scheme ] [--disable-progress-updates] [--arch ] [--os ] [--platform ]
See 'container image pull --help' for more information.
naveen1583 commentedon Jan 9, 2026
Ronitsabhaya75 commentedon Jan 10, 2026
the root cause and have a fix ready for this issue.
Problem
The
Archenum in Sources/Services/ContainerAPIService/Client/Arch.swift only recognizesamd64andarm64, but not the widely-usedx86_64alias. When users specify--arch x86_64or--platform linux/x86_64, the platform parsing fails silently with no error message.Solution
I've added architecture name normalization by implementing a custom
init?(rawValue:)that accepts common aliases:x86_64,x86-64→ normalizes toamd64arm64→ stays asarm64This is 100% backward compatible - all existing code using
amd64continues to work.I'll submit a PR shortly with these changes. Would appreciate review from the maintainers!
Fix: Support x86_64 architecture alias to prevent silent pull failures(…
Fix: Support x86_64 architecture alias to prevent silent pull failures(…
Fix: Support x86_64 architecture alias to prevent silent pull failures(…
Fix: Support x86_64 architecture alias to prevent silent pull failures(…
jglogan commentedon Jan 12, 2026
@naveen1583 Yeah this one is a known (and annoying) issue: #360
@cnaples79 submitted a PR that reorders the
--debugarg to turn the command you show into the correct invocation:Unfortunately that one can't be merged because we're waiting on commits to be signed. This week I'm going to look into swift-argument-parser to see if there's any more elegant way to deal with this.