Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for docker login --password-stdin #1516

Open
bCamba opened this issue Feb 9, 2025 · 0 comments
Open

Support for docker login --password-stdin #1516

bCamba opened this issue Feb 9, 2025 · 0 comments

Comments

@bCamba
Copy link

bCamba commented Feb 9, 2025

Description

When running commands with docker login (or in Nuke DockerTasks.DockerLogin) by passing a password using the --password parameter, docker warns about this "WARNING! Using --password via the CLI is insecure. Use --password-stdin."

There should be a way to use password-sdtin parameter passing the password through piping like this:

echo "$MY_PASSWORD" | docker login --username foo --password-stdin

Usage Example

No response

Alternative

No response

Could you help with a pull-request?

No

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

No branches or pull requests

1 participant