Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.09] backport fix insecure manifest inspect with restrictive certs perms #1382

Merged

Conversation

thaJeztah
Copy link
Member

Backport of #1378 for 18.09

git checkout -b 18.09_manifest-inspect-insecure-fix upstream/18.09
git cherry-pick -s -S -x d57adbc034a69d14b1c88c63cdf07b58fb8eb253

If, for some reason, the certs directory has permissions that are
inaccessible by docker, we should still be able to fetch manifests using
the insecure flag.

Since the cli doesn't access the engine's list of insecure registries,
the registry client should make a singleton list of the registry being queried with the
insecure flag.

Closes #1358

If, for some reason, the certs directory has permissions that are
inaccessible by docker, we should still be able to fetch manifests using
the `insecure` flag.

Since the cli doesn't access the engine's list of insecure registries,
the registry client should make a singleton list of the registry being queried with the
`insecure` flag.

Closes docker#1358

Signed-off-by: Christy Norman <[email protected]>
(cherry picked from commit d57adbc)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 18.09.0 milestone Sep 20, 2018
@thaJeztah
Copy link
Member Author

ping @silvin-lubecki @vdemeester

@codecov-io
Copy link

Codecov Report

Merging #1382 into 18.09 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            18.09    #1382   +/-   ##
=======================================
  Coverage   54.56%   54.56%           
=======================================
  Files         294      294           
  Lines       19403    19403           
=======================================
  Hits        10587    10587           
  Misses       8152     8152           
  Partials      664      664

Copy link
Collaborator

@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

@silvin-lubecki silvin-lubecki 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 thaJeztah merged commit e79e591 into docker:18.09 Sep 21, 2018
@thaJeztah thaJeztah deleted the 18.09_manifest-inspect-insecure-fix branch September 21, 2018 10:53
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.

6 participants