jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-71061] withDockerRegistry fails to login

Open
#707 0 comments 0 reactions 0 assignees View on GitHub
component:docker-workflow-plugin imported-jira-issue priority:blocker resolution:unresolved
Dominant language
Java
Stars
527
Forks
422
Avg merge
10m
Merged PRs (30d)
1

Description

We updated to latest plugins yesterday and now the withDockerPlugin command fails to login.

 

\[Pipeline\] withDockerRegistry[](https://jenkins.***.fi/job/***/job/****#) Using the existing docker config file.Removing blacklisted property: auths$ docker login -u jenkins -p \*\*\*\*\*\*\*\* [https://git.******.**:5050/***](https://git.****.**:5050/****) WARNING! Using --password via the CLI is insecure. Use --password-stdin. Error saving credentials: error storing credentials - err: exit status 1, out: \`Cannot autolaunch D-Bus without X11 $DISPLAY\`

Current Docker Pipeline plugin version: 563.vd5d2e5c4007f

The jenkins user on the jenkins machine can still login from bash

 

---
Originally reported by rulqu, imported from: withDockerRegistry fails to login


  • status: Open
  • priority: Blocker
  • component(s): docker-workflow-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-07

Raw content of original issue

We updated to latest plugins yesterday and now the withDockerPlugin command fails to login.

 



\[Pipeline\] withDockerRegistry[](https://jenkins.***.fi/job/***/job/****#) Using the existing docker config file.Removing blacklisted property: auths$ docker login -u jenkins -p \*\*\*\*\*\*\*\* [https://git.******.**:5050/***](https://git.****.**:5050/****) WARNING! Using --password via the CLI is insecure. Use --password-stdin. Error saving credentials: error storing credentials - err: exit status 1, out: \`Cannot autolaunch D-Bus without X11 $DISPLAY\`


Current Docker Pipeline plugin version: 563.vd5d2e5c4007f

The jenkins user on the jenkins machine can still login from bash

 

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.