天天看點

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

轉載于:https://www.cnblogs.com/effortsing/p/10013450.html