{
    "content": "The <a href=\"..\/.docker\/config.json\/\">.docker\/config.json<\/a> file is a client-side configuration file used by the <a href=\"..\/docker-cli\/\">docker-cli<\/a> to store user-specific settings and authentication credentials. By default, this file is located in the <code>~\/.docker\/<\/code> directory on Linux and macOS, or <code>%USERPROFILE%\/.docker\/<\/code> on Windows. One of its most critical functions is managing authentication for the <a href=\"..\/docker-hub\/\">docker-hub<\/a> and various private <a href=\"..\/container-registry\/\">container-registry<\/a> instances. According to the <a href=\"https:\/\/docs.docker.com\/engine\/reference\/commandline\/cli\/#configuration-files\">official Docker documentation<\/a>, the 'auths' section stores base64-encoded credentials, though it is highly recommended to use a <a href=\"..\/credential-helper\/\">credential-helper<\/a> to store sensitive data in a native system keychain instead. The file also supports configuration for <a href=\"..\/proxy-server\/\">proxy-server<\/a> settings, allowing users to define <code>HTTP_PROXY<\/code> and <code>HTTPS_PROXY<\/a> environment variables that are automatically passed to containers during build and run operations. Furthermore, it tracks the current <a href=\"..\/docker-context\/\">docker-context<\/a>, enabling seamless switching between a local <a href=\"..\/docker-engine\/\">docker-engine<\/a> and remote <a href=\"..\/cloud-computing\/\">cloud-computing<\/a> endpoints. Custom <code>HttpHeaders<\/code> and <code>detachKeys<\/code> can also be specified to modify the behavior of the <a href=\"..\/terminal-emulator\/\">terminal-emulator<\/a> during interactive sessions.<ul><li><a href=\"..\/docker-login\/\">docker-login<\/a><\/li><li><a href=\"..\/docker-credential-helper\/\">docker-credential-helper<\/a><\/li><li><a href=\"..\/docker-daemon-json\/\">docker-daemon-json<\/a><\/li><li><a href=\"..\/container-security\/\">container-security<\/a><\/li><\/ul>",
    "tags": [
        "docker",
        "config.json",
        "authentication",
        "devops",
        "containers",
        "registry",
        "security",
        "cli",
        "json",
        "configuration"
    ]
}