Skip to content

Glossary: Docker Basics

docker login

Also written: docker logout, --password-stdin

Signs in to a registry such as Docker Hub or GHCR so you can push or pull private images. `docker logout` removes the saved sign-in, and `--password-stdin` reads the password from a pipe.

Where the book teaches it

Related terms

RegistryPersonal access token