简体   繁体   English

詹金斯管道与Docker注册表凭证错误

[英]jenkins pipeline with docker registry credential error

I am getting error while trying to login dtr from my pipeline groovy scrit. 尝试从管道常规脚本登录dtr时出现错误。 it is saying that that was a credential error. 据说这是一个凭证错误。

docker.withRegistry('https://dtrlb-oe3ko7eumonjw.eastus.cloudapp.azure.com/','ddcadmin')

and my error is: 我的错误是:

enter image description here 在此处输入图片说明

docker.withRegistry可以在全局域而不是系统域中找到凭证。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM