Jenkins构建项目异常:
Unable to find image 'xxx:latest' locally
docker: Error response from daemon: unauthorized: unauthorized to access repository: xxx, action: pull: unauthorized to access repository: xxx, action: pull.
See 'docker run --help'.
测试坏境部署机器由root账户改成了用普通账户,由于切换了新的账户没有登录Harbor私库,提示未授权访问存储库,只需docker登录一下私库即可
docker login 私库地址
登录成功后Jenkins重新构建项目