1. 程式人生 > >Jenkins建立映象後無法推送到harbor的問題

Jenkins建立映象後無法推送到harbor的問題

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:


[email protected]:/# 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