question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error getting the version of the configured credential helper: Process 'docker-credential-secretservice version' exited with status 1

See original GitHub issue

Description

This error below occur when trying to mvn install the hello world sample project. Looks like it’s related to Issue #896 .

$ mvn io.fabric8:docker-maven-plugin:0.28.0:run
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building dmp-sample-helloworld 0.28.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- docker-maven-plugin:0.28.0:run (default-cli) @ dmp-sample-helloworld ---
[ERROR] DOCKER> Error occurred during container startup, shutting down...
[ERROR] DOCKER> Error getting the version of the configured credential helper [Process 'docker-credential-secretservice version' exited with status 1]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.102 s
[INFO] Finished at: 2019-01-29T10:20:38Z
[INFO] Final Memory: 17M/57M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.28.0:run (default-cli) on project dmp-sample-helloworld: Error getting the version of the configured credential helper: Process 'docker-credential-secretservice version' exited with status 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

docker-credential-secretservice doesn’t accept version argument and returns 1.

$ docker-credential-secretservice version
Unknown credential action `version`
$ echo Return code: $?
Return code: 1

Info

  • d-m-p version : 0.28.0

  • Maven version (mvn -v) :

Apache Maven 3.5.2
Maven home: /usr/share/maven
Java version: 1.8.0_201, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.15.0-43-generic", arch: "amd64", family: "unix"
  • Docker version : Docker version 18.09.1, build 4c52b90
  • If it’s a bug, how to reproduce :
$ git clone https://github.com/fabric8io/docker-maven-plugin.git
$ cd docker-maven-plugin/samples/helloworld/
$ mvn io.fabric8:docker-maven-plugin:0.28.0:run

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
rhusscommented, Apr 6, 2019

Sounds like a valid bug, i.e. as the version is only needed for info output anyway. I’m going to fix that for the next release (probaply due to tomorrow).

0reactions
marcioggscommented, Apr 7, 2019

Sounds like a valid bug, i.e. as the version is only needed for info output anyway. I’m going to fix that for the next release (probaply due to tomorrow).

Thank you, Roland!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fabric8 maven plugin fails on run build - Stack Overflow
Every time I run the build it fails as it uses a docker command that fails docker-credential-secretservice version . [ERROR] Failed to execute ......
Read more >
Kubernetes Maven Plugin - JKube - Eclipse
The kubernetes-maven-plugin brings your Java applications on to Kubernetes. It provides a tight integration into Maven and benefits from the build ...
Read more >
Docker-credential-desktop.exe executable file not found in ...
Using the latest build of Windows 10 and Docker for Windows 19.03.13, I cannot specify image versions in my images using WSL2 and...
Read more >
RavadaVDI - Read the Docs
Note: There are several versions of the Compose file format – 1, 2, 2.x, ... This type of credential error: docker.credentials.errors.
Read more >
How to set up secure credential storage for Docker
Learn how to avoid saving your Docker login credentials in plain text ... Before we get to the securing process, we need to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found