containerd/platforms
Tianon Gravi 4073aaa7a9 Allow arm64 to fallback to arm (v8, v7, v6, v5)
This isn't supported by *all* arm64 chips, but it is common enough that I think it's worth an explicit fallback.  I think it will be more common for images to have arm64 support without arm support, but even if a user has an arm64 chip that does not support arm32, having it fail to run the arm32 image is an acceptable compromise (because it's non-trivial to detect arm32 support without running a binary, AFAIK).

Also, before this change the failure would've simply been "no such image" instead of "failed to run" so I think it's pretty reasonable to allow it to try the additional 32bit set of images just in case one of them actually does work (like it will on many popular chips like 64bit Raspberry Pis and AWS Graviton).

Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
2021-01-13 09:19:08 -08:00
..
compare_test.go Allow arm64 to fallback to arm (v8, v7, v6, v5) 2021-01-13 09:19:08 -08:00
compare.go Allow arm64 to fallback to arm (v8, v7, v6, v5) 2021-01-13 09:19:08 -08:00
cpuinfo_test.go Licence header added 2018-02-19 10:32:26 +09:00
cpuinfo.go Allow arm64 to fallback to arm (v8, v7, v6, v5) 2021-01-13 09:19:08 -08:00
database.go Merge pull request #3624 from tklauser/platforms-update 2019-09-05 16:53:37 -07:00
defaults_test.go Add platform match comparer interface 2018-08-27 00:11:46 -07:00
defaults_unix.go Introduce the Windows lcow diff/snaphotter 2018-08-28 13:51:04 -07:00
defaults_windows.go Do not hardcode "amd64" on LCOW and Windows-related files 2020-11-09 13:39:07 -08:00
defaults.go Introduce the Windows lcow diff/snaphotter 2018-08-28 13:51:04 -07:00
platforms_test.go platforms: fill default arm variant when parse platform specifier 2020-01-08 13:35:49 +08:00
platforms.go platforms: fill default arm variant when parse platform specifier 2020-01-08 13:35:49 +08:00