Docker镜像请求问题“未经授权:需要身份验证”

时间:2019-04-24 13:34:38

标签: docker jenkins-pipeline

我尝试构建jenkins管道来构建,测试和交付python应用程序。但是,如果从docker hub提取 qnib / pytest 映像,则在提取映像3层的中间插入unauthorized: authentication required pull complete ,然后进行了未授权的操作:需要身份验证。 / p>

有人可以建议我任何解决方案或其他图片吗?

    stage('Test') {
        agent {
            docker {
                image 'qnib/pytest'
            }
        }
        steps {
            sh 'py.test --verbose --junit-xml test-reports/results.xml sources/test_calc.py'
        }
    }

0 个答案:

没有答案
相关问题