https://blog.csdn.net/mydeman/article/details/79042848


1、先切换到root账号,用root登录harbor,就可以push


$ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
$ su root
Password:


root@36563e55c42b:/# docker push 192.168.0.73:5000/library/ceshi/latest:v12
The push refers to repository [192.168.0.73:5000/library/ceshi/latest]
6f77afde3a4f: Layer already exists
7274e756d232: Pushed
e9675b67308b: Pushed
acc5df2a52b5: Pushed
1d31b5806ba4: Layer already exists
v12: digest: sha256:e72603ce91f82475abc67be401f9b372fdfa5d78e72896fa139e2eaf5fa59496 size: 1371

 

相关文章:

  • 2021-10-01
  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
  • 2021-05-27
  • 2021-11-16
  • 2021-06-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-06
  • 2021-04-05
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2021-12-18
相关资源
相似解决方案