mirror of https://github.com/docker/cli.git
75ab44af6f
In situations where `~/.docker/config.json` was a symlink, saving the file would replace the symlink with a file, instead of updating the target file location; mkdir -p ~/.docker touch ~/real-config.json ln -s ~/real-config.json ~/.docker/config.json ls -la ~/.docker/config.json # lrwxrwxrwx 1 root root 22 Jun 23 12:34 /root/.docker/config.json -> /root/real-config.json docker login # Username: thajeztah # Password: # Login Succeeded ls -la ~/.docker/config.json -rw-r--r-- 1 root root 229 Jun 23 12:36 /root/.docker/config.json Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
testdata | ||
file.go | ||
file_test.go | ||
file_unix.go | ||
file_windows.go |