Description
docker pull --platform=linux/arm64/v8 nginx:latest && docker pull --platform=linux/arm64/v8 debian:latest && docker pull --platform=linux/arm64/v8 ubuntu:latest
------------------------------------------------------------------------------------------------------------------
[root@localhost tryNested]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx latest d2eb56950b84 6 days ago 278MB
debian latest 27586f460943 12 days ago 383MB
ubuntu latest b359f1067efa 54 years ago 28.9MB
------------------------------------------------------------------------------------------------------------------
[root@localhost tryNested]# docker images --tree
WARNING: This is an experimental feature. The output may change and shouldn't be depended on.
IMAGE ID DISK USAGE CONTENT SIZE USED
nginx:latest d2eb56950b84 278MB 69.6MB
├**─ linux/arm64/v8 96c43ba31637 278MB 69.6MB**
├─ linux/amd64 396c6e925f28 0B 0B
├─ linux/arm/v5 583c1fe635d5 0B 0B
├─ linux/arm/v7 0c07ab67bdea 0B 0B
├─ linux/386 1608b0773886 0B 0B
├─ linux/mips64le 767d520bfd3e 0B 0B
├─ linux/ppc64le 5d944fb59cfb 0B 0B
└─ linux/s390x 708aae785214 0B 0B
debian:latest 27586f460943 383MB 99.1MB ✔
**├─ linux/arm64/v8 4466c6813e1d 203MB 49.6MB
├─ linux/amd64 e225d70fafe8 180MB 49.6MB ✔**
├─ linux/arm/v5 baabbe93525e 0B 0B
├─ linux/arm/v7 926de0d2617f 0B 0B
├─ linux/386 f0d9b867cc9d 0B 0B
├─ linux/mips64le a198b97962c6 0B 0B
├─ linux/ppc64le 47585ee2d5a4 0B 0B
└─ linux/s390x 5245f9d6107f 0B 0B
**ubuntu:latest b359f1067efa 28.9MB 0B**
------------------------------------------------------------------------------------------------------------------
[root@localhost tryNested]# docker inspect d2eb56950b84|grep -ani arch
54: "Architecture": "arm64",
[root@localhost tryNested]# docker inspect 27586f460943|grep -ani arch
38: "Architecture": "amd64",
[root@localhost tryNested]# docker inspect b359f1067efa|grep -ani arch
41: "Architecture": "arm64",
------------------------------------------------------------------------------------------------------------------
Questions
1. why ubuntu shows nothing in --tree command.
2. why arch of debian shows amd64?
4. why for debian both arch got pulled i.e. arm64 and amd64 but for nginx and ubuntu only linux/arm64/v8 got pulled?
Reproduce
.
Expected behavior
Questions
**1. why ubuntu shows nothing in --tree command.
Should show it downloaded.
-
why arch of debian shows amd64?
It should show arm64 because we pulled arm64.
-
why for debian both arch got pulled i.e. arm64 and amd64 but for nginx and ubuntu only linux/arm64/v8 got pulled?**
it should output in same way for all images, why it's different for different images.?
docker version
[root@localhost tryNested]# docker version
Client:
Version: 27.3.1
API version: 1.47
Go version: go1.22.7
Git commit: ce12230
Built: Fri Sep 20 11:39:44 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 27.3.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.7
Git commit: 41ca978
Built: Fri Sep 20 11:41:02 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.7.22
GitCommit: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
runc:
Version: 1.1.14
GitCommit: v1.1.14-0-g2c9f560
docker-init:
Version: 0.19.0
GitCommit: de40ad0
[root@localhost tryNested]#
docker info
[root@localhost tryNested]# docker info
Client:
Version: 27.3.1
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.14.1
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.27.1
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 5
Running: 0
Paused: 0
Stopped: 5
Images: 3
Server Version: 27.3.1
Storage Driver: overlayfs
driver-type: io.containerd.snapshotter.v1
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
runc version: v1.1.14-0-g2c9f560
init version: de40ad0
Security Options:
seccomp
Profile: builtin
Kernel Version: 5.4.17-2136.323.8.2.el7uek.x86_64
Operating System: Oracle Linux Server 7.9
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.544GiB
Name: localhost.localdomain
ID: 6fdc46df-4874-45fd-94bd-7b4a1295ffc0
Docker Root Dir: /var/lib/docker
Debug Mode: false
HTTPS Proxy: http://10.115.27.54:3128/
No Proxy: localhost,127.0.0.1,localaddress,.localdomain.com
Username: mchetan.more@gmail.com
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine
[root@localhost tryNested]#
Additional Info
I see same behavior on docker desktop
Description
Questions
1. why ubuntu shows nothing in --tree command.
2. why arch of debian shows amd64?
4. why for debian both arch got pulled i.e. arm64 and amd64 but for nginx and ubuntu only linux/arm64/v8 got pulled?
Reproduce
.
Expected behavior
Questions
**1. why ubuntu shows nothing in --tree command.
Should show it downloaded.
why arch of debian shows amd64?
It should show arm64 because we pulled arm64.
why for debian both arch got pulled i.e. arm64 and amd64 but for nginx and ubuntu only linux/arm64/v8 got pulled?**
it should output in same way for all images, why it's different for different images.?
docker version
docker info
Additional Info
I see same behavior on docker desktop