denied: requested access to the resource is denied
An image does not exist locally with the tag: 03b4557ad7b9
Harbor使用
万事俱备,下面我们来试试上传镜像。以docker的官方镜像hello-world为例,先下载好镜像,然后给镜像打tag:
docker tag hello-world xx.xx.xx.xx:5000/test/hello-world
其中“test”为项目名,如果预先没有创建test项目的话,push的时候会提示:
denied: requested access to the resource is denied
那么现在Harbor UI里新建一个test项目,然后执行:
docker push xx.xx.xx.xx:5000/test/hello-world
大功告成!