docker login fails on a server with no X11 installed

前端 未结 7 2676
眼角桃花
眼角桃花 2021-01-30 20:18

I am trying to deploy a docker configuration with images on a private docker registry.

Now, every time I execute docker login registry.example.com, I get the

7条回答
  •  清歌不尽
    2021-01-30 20:40

    There is a much easier answer than the ones already posted, which I found in a comment on https://github.com/docker/docker-credential-helpers/issues/105.

    The solution is to rename docker-credential-secretservice out of the way e.g: mv /usr/bin/docker-credential-secretservice /usr/bin/docker-credential-secretservice.broken

    Once you do this, docker login works regardless of whether or not docker-compose is installed. No other package additions or removals are necessary.

提交回复
热议问题