To sign into Quay.io, execute the docker login quay.io command:
docker login quay.io
Note: If you go to your Quay account settings you can create an encrypted password for more security.
$ docker login quay.io Username: myusername Password: mypassword