moby/daemon/config
Tibor Vass f695e98cb7 Revert "Remove the rest of v1 manifest support"
This reverts commit 98fc09128b in order to
keep registry v2 schema1 handling and libtrust-key-based engine ID.

Because registry v2 schema1 was not officially deprecated and
registries are still relying on it, this patch puts its logic back.

However, registry v1 relics are not added back since v1 logic has been
removed a while ago.

This also fixes an engine upgrade issue in a swarm cluster. It was relying
on the Engine ID to be the same upon upgrade, but the mentioned commit
modified the logic to use UUID and from a different file.

Since the libtrust key is always needed to support v2 schema1 pushes,
that the old engine ID is based on the libtrust key, and that the engine ID
needs to be conserved across upgrades, adding a UUID-based engine ID logic
seems to add more complexity than it solves the problems.

Hence reverting the engine ID changes as well.

Signed-off-by: Tibor Vass <tibor@docker.com>
2019-06-18 00:36:01 +00:00
..
builder.go builder: use buildkit's GC for build cache 2018-09-21 22:06:00 +00:00
config.go Revert "Remove the rest of v1 manifest support" 2019-06-18 00:36:01 +00:00
config_common_unix.go Fixes for resolv.conf 2018-07-26 11:17:56 -07:00
config_common_unix_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
config_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
config_unix.go Make cgroup namespaces configurable 2019-05-07 10:22:16 -07:00
config_unix_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
config_windows.go allow running dockerd in an unprivileged user namespace (rootless mode) 2019-02-04 00:24:27 +09:00
config_windows_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
opts.go Add canonical import comment 2018-02-05 16:51:57 -05:00