“docker拉”提示input密码

我有configuration在〜/ .docker / config.json(其中包含身份validation令牌)pathconfig.json文件。 但是当我做docker pull <registry-url>:5000/testrepo/elasticsearch:latest ,会提示input密码。 但我相信它应该能够下载图像而不提示密码,因为我有auth令牌。 有谁能帮我解决这个问题吗?

谢谢,sunil