Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52991

withDockerRegistry([...]) fails with "Email: EOF" on older docker versions

      Recently upgraded from Jenkins 1.x to 2.x and now I'm receiving errors during the pipeline

      [Pipeline] withDockerRegistry
       $ docker login -u anonymous -p ******** https://registry:5000
       Email: EOF

      I'm using an old version of docker 1.10 that still requires the email option when using docker login. I was using version 1.12 of the https://wiki.jenkins.io/display/JENKINS/Docker+Pipeline+Plugin and now I'm on the most recent 1.17 

          [JENKINS-52991] withDockerRegistry([...]) fails with "Email: EOF" on older docker versions

          Matt Evans created issue -
          Matt Evans made changes -
          Description Original: Recently upgraded from Jenkins 1.x to 2.x and now I'm receiving errors during the pipeline
          {code:java}
          [Pipeline] withDockerRegistry
           $ docker login -u anonymous -p ******** https://registry:5000
           Email: EOF{code}
          I'm using an old version of docker {{1.10}} that still requires the email option when using {{docker login}}. I was using version `1.12` of the [Docker Pipeline Plugin](https://wiki.jenkins.io/display/JENKINS/Docker+Pipeline+Plugin) and now I'm on the most recent `1.17`
          New: Recently upgraded from Jenkins 1.x to 2.x and now I'm receiving errors during the pipeline
          {code:java}
          [Pipeline] withDockerRegistry
           $ docker login -u anonymous -p ******** https://registry:5000
           Email: EOF{code}
          I'm using an old version of docker {{1.10}} that still requires the email option when using {{docker login}}. I was using version {{1.12}} of the [Docker Pipeline Plugin|[https://wiki.jenkins.io/display/JENKINS/Docker+Pipeline+Plugin]] and now I'm on the most recent \{{1.17}} 
          Matt Evans made changes -
          Description Original: Recently upgraded from Jenkins 1.x to 2.x and now I'm receiving errors during the pipeline
          {code:java}
          [Pipeline] withDockerRegistry
           $ docker login -u anonymous -p ******** https://registry:5000
           Email: EOF{code}
          I'm using an old version of docker {{1.10}} that still requires the email option when using {{docker login}}. I was using version {{1.12}} of the [Docker Pipeline Plugin|[https://wiki.jenkins.io/display/JENKINS/Docker+Pipeline+Plugin]] and now I'm on the most recent \{{1.17}} 
          New: Recently upgraded from Jenkins 1.x to 2.x and now I'm receiving errors during the pipeline
          {code:java}
          [Pipeline] withDockerRegistry
           $ docker login -u anonymous -p ******** https://registry:5000
           Email: EOF{code}
          I'm using an old version of docker {{1.10}} that still requires the email option when using {{docker login}}. I was using version {{1.12}} of the [https://wiki.jenkins.io/display/JENKINS/Docker+Pipeline+Plugin] and now I'm on the most recent {{1.17}} 
          Ulli Hafner made changes -
          Link New: This issue relates to JENKINS-55571 [ JENKINS-55571 ]
          Ulli Hafner made changes -
          Link Original: This issue relates to JENKINS-55571 [ JENKINS-55571 ]

            Unassigned Unassigned
            mevans Matt Evans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: