You shouldn't need to delete the config.json
when you do docker login
that should overwrite it regardless. (Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.)
完全解决方法 1:只要在win中的Docker里登录到docker hub即可(任务栏找到docker图标,右键点击登录,输入在hub.docker.com的账号即可)