1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/api
Sebastiaan van Stijn 01ae9525dd
Add support for platform (os and architecture) on image import
Commit 0380fbff37 added the ability to pass a
--platform flag on `docker import` when importing an archive. The intent
of that commit was to allow importing a Linux rootfs on a Windows daemon
(as part of the experimental LCOW feature).

A later commit (337ba71fc1) changed some
of this code to take both OS and Architecture into account (for `docker build`
and `docker pull`), but did not yet update the `docker image import`.

This patch updates the import endpoitn to allow passing both OS and
Architecture. Note that currently only matching OSes are accepted,
and an error will be produced when (e.g.) specifying `linux` on Windows
and vice-versa.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-01-24 18:24:51 +01:00
..
v1.18.md API: fix 404 status description on container create 2021-07-03 21:30:47 +02:00
v1.19.md API: fix 404 status description on container create 2021-07-03 21:30:47 +02:00
v1.20.md API: fix 404 status description on container create 2021-07-03 21:30:47 +02:00
v1.21.md API: fix 404 status description on container create 2021-07-03 21:30:47 +02:00
v1.22.md docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.23.md docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.24.md docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.25.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.26.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.27.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.28.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.29.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.30.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.31.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.32.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.33.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.34.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.35.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.36.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.37.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.38.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.39.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.40.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
v1.41.yaml docs: remove HostConfig.LxcConf field from API docs 2022-01-20 17:24:07 +01:00
version-history.md Add support for platform (os and architecture) on image import 2022-01-24 18:24:51 +01:00