DockerCLI/cli/config
Sebastiaan van Stijn ee218fa89e
Deprecation: config: remove support for old ~/.dockercfg
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>
2022-04-06 21:35:03 +02:00
..
configfile Deprecation: config: remove support for old ~/.dockercfg 2022-04-06 21:35:03 +02:00
credentials linting: ignore some "G101: Potential hardcoded credentials" warnings 2022-03-28 10:37:22 +02:00
types Remove docker api dependency from cli/config 2019-01-31 21:25:43 +00:00
config.go Deprecation: config: remove support for old ~/.dockercfg 2022-04-06 21:35:03 +02:00
config_test.go Deprecation: config: remove support for old ~/.dockercfg 2022-04-06 21:35:03 +02:00