cat ~/my_password.txt | docker login --username foo --password-stdin
how should the password be written in my_password.txt and where this file should be located
Share and learn in the Docker community.
cat ~/my_password.txt | docker login --username foo --password-stdin
how should the password be written in my_password.txt and where this file should be located
Can you share your exact use case?
Since your command is a login n Docker Hub, and you used the Windows tag, I assume you use Docker Desktop for Windows, where the login information should be already shared by Docker Desktop.