2

这是我试图推送到 docker hub 的图像

REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
smiduthu/has_test   latest              2e0d0ba5412a        27 minutes ago      765.4 MB

我在做docker push smiduthu/has_test

尝试推送图片时出现以下错误

The push refers to a repository [smiduthu/has_test] (len: 1)
2e0d0ba5412a: Image push failed
FATA[0002] Error pushing to registry: token auth attempt for registry https://registry-1.docker.io/v2/: https://auth.docker.io/
=repository%3Asmiduthu%2Fhas_test%3Apull%2Cpush&service=registry.docker.io request failed with status: 401 Unauthorized

问题是什么 ?

4

0 回答 0