sealerio / sealer

Build, Share and Run Both Your Kubernetes Cluster and Distributed Applications (Project under CNCF)
http://sealer.cool
Apache License 2.0
2.04k stars 355 forks source link

pull command support multiples platforms #2340

Open maxwell-can-not-fly opened 2 months ago

maxwell-can-not-fly commented 2 months ago

Describe what this PR does / why we need it

now sealer pull support multiple platforms with its --platform option, eg. sealer pull --platform linux/amd64,linux/arm64 my-image

Does this pull request fix one issue?

Describe how you did it

if platform options is give more than one value, pull with existing implementation for each platform and create a image list with pulled images.

Describe how to verify it

use sealer pull --platform linux/amd64,linux/arm64 my-image

Special notes for reviews