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
docker image inspect --format='{{.Architecture}}' test:new should return 386, as the image platform should have been set to linux/386 by the docker import command.
docker version
Client:
Version: 20.10.25+dfsg1
API version: 1.41
Go version: go1.22.3
Git commit: b82b9f3
Built: Tue May 7 10:33:18 2024
OS/Arch: linux/amd64
Context: default
Experimental: true
Server:
Engine:
Version: 20.10.25+dfsg1
API version: 1.41 (minimum version 1.12)
Go version: go1.22.3
Git commit: 5df983c
Built: Tue May 7 10:33:18 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.24~ds1
GitCommit: 1.6.24~ds1-2
runc:
Version: 1.1.12+ds1
GitCommit: 1.1.12+ds1-2
docker-init:
Version: 0.19.0
GitCommit:
Please note that you're running an outdated version (v20.10.25 debian package) of Docker which is EOL. Can you check if the issue persist on the currently maintained version (v27.0.3)?
I'll close the issue - if you are able to reproduce the issue on the latest version, please open a ticket in the Moby/Docker Engine issue tracker.
Description
The
--platform
argument todocker import
has no effect on the resultingOS/ARCH
of the image.Reproduce
docker import https://cdimage.ubuntu.com/ubuntu-base/releases/16.04/release/ubuntu-base-16.04.6-base-i386.tar.gz --platform linux/386 test:new
docker image inspect --format='{{.Architecture}}' test:new
Expected behavior
docker image inspect --format='{{.Architecture}}' test:new
should return386
, as the image platform should have been set tolinux/386
by the docker import command.docker version
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: