问题现象:
从harbor私有docker仓库拉取镜像时,出现错误:Pulling message (11.1.14.145:8080/message/v1.0:latest)...
ERROR: unauthorized: unauthorized to access repository: message/v1.0, action: pull: unauthorized to access repository: message/v1.0, action: pull
原因分析:
错误提示对存储库访问未经授权,这是因为harbor上的访问认证导致的,需要在客户机上进行harbor仓库登录。
解决办法:
[root@localhost]# docker login 11.1.14.145:8080
网友评论