moby/image
John Howard 35193c0e7d LCOW: Auto-select OS
Signed-off-by: John Howard <jhoward@microsoft.com>

Addresses https://github.com/moby/moby/pull/35089#issuecomment-367802698.
This change enables the daemon to automatically select an image under LCOW
that can be used if the API doesn't specify an explicit platform.

For example:

FROM supertest2014/nyan
ADD Dockerfile /

And docker build . will download the linux image (not a multi-manifest image)

And similarly docker pull ubuntu will match linux/amd64
2018-06-26 11:37:43 -07:00
..
cache Add canonical import comment 2018-02-05 16:51:57 -05:00
spec image spec formatting fix 2018-05-13 13:30:53 -04:00
tarexport Various code-cleanup 2018-05-23 17:50:54 +02:00
v1 Add canonical import comment 2018-02-05 16:51:57 -05:00
fs.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fs_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
image.go Dockerbuilder: use the arch info from base image 2018-04-09 10:40:21 +00:00
image_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
rootfs.go Add canonical import comment 2018-02-05 16:51:57 -05:00
store.go LCOW: Auto-select OS 2018-06-26 11:37:43 -07:00
store_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00