1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/distribution
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
..
fixtures/validate_manifest
metadata Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
utils Add canonical import comment 2018-02-05 16:51:57 -05:00
xfer Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
config.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors_test.go Various code-cleanup 2018-05-23 17:50:54 +02:00
pull.go LCOW: Auto-select OS 2018-06-26 11:37:43 -07:00
pull_v1.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
pull_v2.go LCOW: Auto-select OS 2018-06-26 11:37:43 -07:00
pull_v2_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
pull_v2_unix.go LCOW: Auto-select OS 2018-06-26 11:37:43 -07:00
pull_v2_windows.go LCOW: Auto-select OS 2018-06-26 11:37:43 -07:00
push.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
push_v1.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
push_v2.go Various code-cleanup 2018-05-23 17:50:54 +02:00
push_v2_test.go Bump docker/distribution to 83389a148052d74ac602f5f1d62f86ff2f3c4aa5 2018-04-30 09:30:56 -07:00
registry.go Bump docker/distribution to 83389a148052d74ac602f5f1d62f86ff2f3c4aa5 2018-04-30 09:30:56 -07:00
registry_unit_test.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00