0
PS C:\Users\user\Desktop> docker login
Authenticating with existing credentials...
Login Succeeded
PS C:\Users\user\Desktop> docker push tree
The push refers to repository [docker.io/library/tree]
701ae319ce59: Preparing                                                                                                                
1445d87cb5ce: Preparing                                                                                                                
a9e822192dd4: Preparing                                                                                                                    
91ad130083b0: Preparing                                                                                                                        
096da3f810e4: Preparing                                                                                                                
508c3f3b7a64: Waiting                                                                                                                  
7e453511681f: Waiting                                                                                                                  
b544d7bb9107: Waiting                                                                                                                  
baf481fca4b7: Waiting                                                                                                                  
3d3e92e98337: Waiting                                                                                                                  
8967306e673e: Waiting                                                                                                                  
9794a3b3ed45: Waiting                                                                                                                  
5f77a51ade6a: Waiting                                                                                                                  
e40d297cf5f8: Waiting                                                                                                                  
denied: requested access to the resource is denied
4

1 回答 1

0

那是因为您没有对docker.io/library/tree存储库的推送访问权限。如果你想将你创建的图像推送到 docker,你必须在你的帐户中进行,即推送就像

docker push <your-username>/tree

于 2020-05-08T02:52:46.140 回答