harbor搭建与使用

时间:2024-10-22 17:41:57
[root@localhost harbor]# docker login 192. Username: admin Password: WARNING! Your password will be stored unencrypted in /root/.docker/. Configure a credential helper to remove this warning. See /engine/reference/commandline/login/#credentials-store Login Succeeded [root@localhost harbor]# [root@localhost harbor]# docker tag nginx:latest 192./test/nginx:v1 [root@localhost harbor]# docker push 192./test/nginx:v1 The push refers to repository [192./test/nginx] d874fd2bc83b: Pushed 32ce5f6a5106: Pushed f1db227348d0: Pushed b8d6e692a25e: Pushed e379e8aedd4d: Pushed 2edcec3590a4: Pushed v1: digest: sha256:ee89b00528ff4f02f2405e4ee221743ebc3f8e8dd0bfd5c4c20a2fa2aaa7ede3 size: 1570 [root@localhost harbor]#