Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #23478
Closed
Open
Issue created Oct 18, 2016 by Kilian@Ries

Registry Login: Email EOF

Hi,

today i updated to gitlab 8.12.7 and since then the docker login command is not working from my ssh-runner:

gitlab-ci.yml

deploy_docker_to_dev:
  stage:
      deploy_docker_dev
  script:
    - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.intern.com
    - docker pull $CONTAINER_RELEASE_IMAGE

console output

$ docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.intern.com
Email: EOF
ERROR: Build failed: Process exited with: 1. Reason was:  ()

The strange thing is that the same command is working form my dind-runner:

gitlab-ci.yml

build_docker_image:
  image: docker:latest
  services:
    - docker:dind
  before_script:
    - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.intern.com
  stage: build_docker
  script:
    - docker build -t $CONTAINER_RELEASE_IMAGE .
    - docker push $CONTAINER_RELEASE_IMAGE

console output

$ docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.intern.com
Login Succeeded
$ docker build -t $CONTAINER_RELEASE_IMAGE .

Before the update the docker login command worked with both runners. I don't understand why the login command asks for an password?

Thanks Greets Kilian

Assignee
Assign to
Time tracking