Skip to content

Conversation

justincormack
Copy link
Contributor

@justincormack justincormack commented Sep 18, 2018

As people are using the UUID in docker info that was based on the v1 manifest signing key, replace
with a UUID instead.

Remove deprecated --disable-legacy-registry option that was scheduled to be removed in 18.03.

Signed-off-by: Justin Cormack justin.cormack@docker.com

fix #33356
closes #35479

Note this does not yet remove libtrust as docker/distribution is still using it.

dog

@justincormack
Copy link
Contributor Author

cc @rogaha

@justincormack justincormack force-pushed the remove-libtrust branch 5 times, most recently from da0f71b to b7f475e Compare September 18, 2018 15:59
@dmcgowan
Copy link
Member

dmcgowan commented Sep 18, 2018

👍 on making this change. This is doing a couple things that are worth noting, it is completely removing the ability to pull from a v1 registry, removing the ability to push schema 1 (deprecating some early versions of the v2 registry and might still break push to quay.io), and changing the engine ID which was once used by classic swarm but not sure if it still relies on this.

Copy link
Member

@dmcgowan dmcgowan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐯

Copy link
Contributor

@fntlnz fntlnz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👼

@codecov
Copy link

codecov bot commented Mar 2, 2019

Codecov Report

Merging #37874 into master will decrease coverage by 0.04%.
The diff coverage is 5.88%.

@@            Coverage Diff             @@
##           master   #37874      +/-   ##
==========================================
- Coverage   36.49%   36.44%   -0.05%     
==========================================
  Files         613      613              
  Lines       45886    45827      -59     
==========================================
- Hits        16746    16703      -43     
+ Misses      26847    26842       -5     
+ Partials     2293     2282      -11

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah
Copy link
Member

Actually; can we also remove this from the Dockerfile

moby/Dockerfile

Lines 50 to 57 in 20e8572

FROM base AS registry
# Install two versions of the registry. The first is an older version that
# only supports schema1 manifests. The second is a newer version that supports
# both. This allows integration-cli tests to cover push/pull with both schema1
# and schema2 manifests.
ENV REGISTRY_COMMIT_SCHEMA1 ec87e9b6971d831f0eff752ddb54fb64693e51cd
ENV REGISTRY_COMMIT 47a064d4195a9b56133891bbb13620c3ac83a827

justincormack and others added 2 commits March 2, 2019 10:46
As people are using the UUID in `docker info` that was based on the v1 manifest signing key, replace
with a UUID instead.

Remove deprecated `--disable-legacy-registry` option that was scheduled to be removed in 18.03.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@cpuguy83
Copy link
Member

cpuguy83 commented Mar 2, 2019

Updated to remove the schema1 registry build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace the engine ID fingerprint with an UUID