DockerCLI/cli/config/configfile
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
..
testdata Simplify cli plugin config file entry 2019-02-25 10:38:48 +00:00
file.go Deprecation: config: remove support for old ~/.dockercfg 2022-04-06 21:35:03 +02:00
file_test.go cli/config: remove deprecated io/ioutil and use t.TempDir() 2022-02-25 15:42:15 +01:00
file_unix.go gofmt with go1.17 2022-03-26 20:21:00 +01:00
file_windows.go config: preserve ownership and permissions on configfile 2019-12-17 09:57:33 +01:00