mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
88c0271605
This fixes a regression based on expectations of the runtime: ``` docker pull arm32v7/alpine docker run arm32v7/alpine ``` Without this change, the `docker run` will fail due to platform matching on non-arm32v7 systems, even though the image could run (assuming the system is setup correctly). This also emits a warning to make sure that the user is aware that a platform that does not match the default platform of the system is being run, for the cases like: ``` docker pull --platform armhf busybox docker run busybox ``` Not typically an issue if the requests are done together like that, but if the image was already there and someone did `docker run` without an explicit `--platform`, they may very well be expecting to run a native version of the image instead of the armhf one. This warning does add some extra noise in the case of platform specific images being run, such as `arm32v7/alpine`, but this can be supressed by explicitly setting the platform. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
checkpoint_test.go | ||
container_test.go | ||
copy_test.go | ||
create_test.go | ||
daemon_linux_test.go | ||
daemon_test.go | ||
diff_test.go | ||
exec_test.go | ||
export_test.go | ||
health_test.go | ||
inspect_test.go | ||
ipcmode_linux_test.go | ||
kill_test.go | ||
links_linux_test.go | ||
logs_test.go | ||
main_test.go | ||
mounts_linux_test.go | ||
nat_test.go | ||
pause_test.go | ||
ps_test.go | ||
remove_test.go | ||
rename_test.go | ||
resize_test.go | ||
restart_test.go | ||
run_cgroupns_linux_test.go | ||
run_linux_test.go | ||
stats_test.go | ||
stop_linux_test.go | ||
stop_test.go | ||
stop_windows_test.go | ||
update_linux_test.go | ||
update_test.go | ||
wait_test.go |