Answer the question
In order to leave comments, you need to log in
How to login to docker via command line?
Installed Windows 7 Pro using docker toolbox.
If you write simply docker login
, then you can’t enter a password. That is, when it comes to the password, characters are simply not printed.
If you type the command docker login -u username -p pass
, then the message WARNING! Using --password via the CLI is insecure. Use --password-stdin.
I tried several ways to log in using --password-stdin
. For example, like this:
echo | SET p=pass | docker login --username username --password-stdin
docker login --username aab112 --password-stdin < pass.txt
Answer the question
In order to leave comments, you need to log in
The characters are not printed because it is a password. Security, everything.
Anything you enter will be entered but not displayed.
Try entering your password and pressing ENTER. You will succeed. I believe
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question