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
Describe the bug
Hi, when creating an image and trying to add --additional-flags parameter, looks like it is getting ignored if I pass --platform=linux/arm64
To Reproduce
use podman as a container driver and run: distrobox create --image docker.io/arm64v8/debian --name debian --additional-flags "--platform=linux/arm64"
Expected behavior
should pull arm64 version of debian. instead, it shows this log:
Image docker.io/arm64v8/debian:latest not found.
Do you want to pull the image now? [Y/n]: Y
Trying to pull docker.io/arm64v8/debian:latest...
Error: choosing an image from manifest list docker://arm64v8/debian:latest: no image found in image index for architecture "amd64", variant "", OS "linux"
Logs
DEBU[0000] Trying "docker.io/arm64v8/debian:latest" ...
DEBU[0000] Loading registries configuration "/etc/containers/registries.conf"
DEBU[0000] Loading registries configuration "/etc/containers/registries.conf.d/00-shortnames.conf"
DEBU[0000] Normalized platform linux/amd64 to {amd64 linux [] } <-- why?
DEBU[0000] Attempting to pull candidate docker.io/arm64v8/debian:latest for docker.io/arm64v8/debian:latest
with dry-run (just posting not sure, can this extra space cause any issues too?):
Ran into a similar issue but using the --arch command line flag for podman. Simply working around it by manually executing the dry-run print allowed me to pull the image and enter it with distrobox afterwards.
Describe the bug
Hi, when creating an image and trying to add
--additional-flags
parameter, looks like it is getting ignored if I pass--platform=linux/arm64
To Reproduce
use podman as a container driver and run:
distrobox create --image docker.io/arm64v8/debian --name debian --additional-flags "--platform=linux/arm64"
Expected behavior
should pull arm64 version of debian. instead, it shows this log:
Logs
with dry-run (just posting not sure, can this extra space cause any issues too?):
Desktop (please complete the following information):
Additional context
Without passing the --platform=linux/arm64, podman (docker too?) can't locate the arm version of the image.
Thank you!
The text was updated successfully, but these errors were encountered: