DockerCLI/cli/config/configfile
Benoit Sigoure 7e9e2c10bc cli/config/configfile: Atomically rewrite the config file when saving.
The config file was being truncated first, which created a window during
which it was empty, causing concurrent uses of the `docker` command to
potentially fail with:
  WARNING: Error loading config file: /var/lib/jenkins/.docker/config.json: EOF
  Error response from daemon: Get https://registry/v2/foo/manifests/latest: no basic auth credentials

Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
2018-09-10 13:43:24 -07:00
..
file.go cli/config/configfile: Atomically rewrite the config file when saving. 2018-09-10 13:43:24 -07:00
file_test.go cli/config/configfile: Atomically rewrite the config file when saving. 2018-09-10 13:43:24 -07:00