When I do a docker login
to a private repository using docker 1.10.1, an entry is created in my ~/.docker/config.json
file. Is this file in the same format as what I see being called a .dockercfg
file? Is the config.json
file interchangeable with a .dockercfg
file?
相关问题
- Docker task in Azure devops won't accept "$(pw
- Unable to run mariadb when mount volume
- Unspecified error (0x80004005) while running a Doc
- What would prevent code running in a Docker contai
- How to reload apache in php-apache docker containe
I assume
config.json
is the new.dockercfg
file.See "
docker/cliconfig/config.go
"The new config file is now documented under
man/config-json.5.md
That was introduced in commit 18c9b6c in docker 1.7.0 (April 2015)