Replies: 4 comments 1 reply
-
Thanks for the summary! |
Beta Was this translation helpful? Give feedback.
-
Per Platform in image spec, an OS may have different version and features, should we cover them as well? |
Beta Was this translation helpful? Give feedback.
-
Hi @lizMSFT , To confirm the |
Beta Was this translation helpful? Give feedback.
-
Discussion summary:
Input:
|
Beta Was this translation helpful? Give feedback.
-
This page is about Platform Selection Behavior for
docker pull <image> --platform <platform>
command.I'm trying to list some Platform Selection workflows for docker pull command. Then we can somehow follow these scenarios while working on ORAS platform selection feature.
Related task: #210
Sample manifest list
Artifact reference: zoeycr0707.azurecr.io/hello-world:multi
Manifest:
Case 1
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linux
pulled image platform:
Note: pulled the default linux platform image
Case 2
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform windows
output:
Note: not able to pull image with different operating system
Case 3
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linux/amd64
pulled image platform:
Case 4
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linux/amd
output:
Note: not able to pull image without matching manifest architecture
Case 5
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linux/arm
pulled image platform:
Note: pull the image with the greater variant
Case 6
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linux/arm/v6
pulled image platform:
Note: pull the image with previous variant
Case 7
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linux/arm/v5
pulled image platform:
Case 8
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linux/arm/xxx
pulled image platform:
Note: pull the image with previous variant
Case 9
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linux/arm64/v1
output:
Note: not able to pull image without matching manifest variant
Case 10
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linux/arm64
pulled image platform:
Case 11
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform linuxxx
output:
Case 12
docker pull zoeycr0707.azurecr.io/hello-world:multi --platform
output:
Case 13
docker pull zoeycr0707.azurecr.io/hello-world:multi
pulled image platform:
Beta Was this translation helpful? Give feedback.
All reactions