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:


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

 

posted @ 2018-11-24 20:44  effortsing  阅读(1610)  评论(0编辑  收藏  举报