Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant