我在Windows机器中使用docker version 18.09.0, build 4d60db4,我试图使用以下命令登录到Artifactory,
docker login docker-registery.company.net
它提示输入用户名和密码,我提供它们,但我无法登录。它给出了以下错误:
Error response from daemon: Get https://docker-registery.company.net/v2/: tls: server selected unsupported protocol version 301
注意:我可以使用相同的用户名和密码,
我们希望将docker存储库推送到DockerHub -从shell is works。但是在Jenkins中,我们得到了错误消息"errorDetail":{"message":"unauthorized: access to the requested resource is not authorized"
我认为问题在于在shell (docker login)中,我必须插入电子邮件地址、登录名和密码。在Jenkins中,我只能设置登录名和密码,没有电子邮件。凭证插件的版本是1.24,我们使用docker-build-step来执行dock