Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Successful login spits System.Management.Automation.RemoteException #72

Open
zionyx opened this issue Nov 13, 2019 · 3 comments
Open

Successful login spits System.Management.Automation.RemoteException #72

zionyx opened this issue Nov 13, 2019 · 3 comments

Comments

@zionyx
Copy link
Contributor

zionyx commented Nov 13, 2019

[2019-11-13T13:49:57.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json.
[2019-11-13T13:49:57.735Z] Configure a credential helper to remove this warning. See
[2019-11-13T13:49:57.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store
[2019-11-13T13:49:57.735Z] System.Management.Automation.RemoteException
[2019-11-13T13:49:57.735Z] Login Succeeded

Need to fix this exception even if login succeeds.

@zionyx zionyx changed the title Login succeeds and spits System.Management.Automation.RemoteException Successful login spits System.Management.Automation.RemoteException Nov 18, 2019
@rasmusjelsgaard
Copy link
Contributor

Not sure I follow...is the credential helper not a configuration option of docker?
docker login has no options besides username and password AFAIK.

If that is the case then I am not sure we can fix this.

@rasmusjelsgaard
Copy link
Contributor

Not sure we can fix this - in my attempt to reproduce it I came to the conclusion that this is a message that gets output to stderr, probably thrown somewhere inside Powershell. I suggest we close this issue as a wont do.

@rasmusjelsgaard
Copy link
Contributor

@zionyx note that in the latest version of this module stdout and stderr are split into separate streams. Maybe that allows you to suppress the message as you wanted. Could you look into this and then get back on this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants