欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

标题:解决docker push/pull 报错unauthorized: access to the requested resource is not authorized

最编程 2024-02-26 08:11:50
...

背景

不管是harbor、nexus、registry管理docker镜像,如果没有登录,在执行docker push或docker pull的时候会报这个错

解决

执行docker login ip:5000,进行登录操作

此时执行push 或 pull发现可以执行成功了