Docker ID accounts
Your free Docker ID grants you access to Docker Hub repositories and some beta programs. All you need is an email address.
Register for a Docker ID
Your Docker ID becomes your user namespace for hosted Docker services, and becomes your username on the Docker Forums. To create a new Docker ID:
Go to the Docker Hub signup page.
Enter a username that is also your Docker ID.
Your Docker ID must be between 4 and 30 characters long, and can only contain numbers and lowercase letters.
Enter a unique, valid email address.
Enter a password. Note that the password must be at least 9 characters.
Complete the Captcha verification and then then click Sign up.
Docker sends a verification email to the address you provided.
Verify your email address to complete the registration process.
Note: You cannot log in with your Docker ID until you verify your email address.
Once you register and verify your Docker ID email address, you can log in to Docker Hub.
You can also log in through the CLI using the
docker login command. For more information, see
accounts, docker ID, billing, paid plans, support, Hub, Store, Forums, knowledge base, beta access
Warning: When you use the
docker logincommand, your credentials are stored in your home directory in
.docker/config.json. The password is base64-encoded in this file.
For extra security, you can use a personal access token to log in instead, which is still encoded in this file but doesn’t allow admin actions (such as changing the password). If you require secure storage for this password or personal access token, use the Docker credential helpers.