Uh oh!
There was an error while loading. Please reload this page.
Deprecation: config: remove support for old ~/.dockercfg - #2504
Conversation
thaJeztah
commented
May 7, 2020
We need to check Kubernetes; I found some code using |
de3fd82 to
b7206d9Compare
silvin-lubecki
left a comment
There was a problem hiding this comment.
Looks good and safe to me, it removes lots of crappy logic 👍
thaJeztah
commented
May 11, 2020
Was discussing this in the maintainers meeting, and (similar to the kubernetes code I linked to), there might actually be other systems that use this format to store credentials. For that reason, we should officially deprecate it (and be sure to call it out in the release notes), and not immediately remove it (at least not for the next 20.0x release) |
c80b780 to
0af0d51Comparecodecov-io
commented
Mar 3, 2021
Codecov Report
@@ Coverage Diff @@## master #2504 +/- ##
==========================================
+ Coverage 57.06% 57.13% +0.07%
==========================================
Files 299 299 Lines 18683 18665 -18 ==========================================
+ Hits 10662 10665 +3 + Misses 7155 7133 -22 - Partials 866 867 +1 |
0af0d51 to
4517757Comparetao12345666333
commented
May 21, 2021
SGTM. 👍 |
4517757 to
ad273a9CompareCodecov Report
@@ Coverage Diff @@## master #2504 +/- ##
==========================================
+ Coverage 59.00% 59.06% +0.06%
==========================================
Files 284 284 Lines 23839 23799 -40 ==========================================
- Hits 14066 14057 -9 + Misses 8914 8883 -31
Partials 859 859 |
thaJeztah
commented
May 21, 2021
Ah, yes, forgot about this one; rebased, and let me move out of draft |
tao12345666333
commented
May 21, 2021
This seems to come from an error reported by containerd when processing cgroups. |
thaJeztah
commented
May 21, 2021
Hmm.. yes, definitely not related; let me restart CI |
The `~/.dockercfg` file was replaced by `~/.docker/config.json` in 2015 (github.com/docker/docker/commit/18c9b6c6455f116ae59cde8544413b3d7d294a5e), but the CLI still falls back to checking if this file exists if no current (`~/.docker/config.json`) file was found. Given that no version of the CLI since Docker v1.7.0 has created this file, and if such a file exists, it means someone hasn't re-authenticated for 5 years, it's probably safe to remove this fallback. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
ad273a9 to
ee218faComparethaJeztah
commented
Apr 6, 2022
rebased; still green; let's bring this one in |
depends on:
The
~/.dockercfgfile was replaced by~/.docker/config.jsonin 2015(moby/moby@18c9b6c (moby/moby#12009)), but the CLI still falls back to checking if this file exists if no current (
~/.docker/config.json) file was found.Given that no version of the CLI since Docker v1.7.0 has created this file, and if such a file exists, it means someone hasn't re authenticated for 5 years, it's probably safe to remove this fallback.
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)