mirror of https://github.com/docker/docs.git
715 B
715 B
description | keywords | title |
---|---|---|
Generate a new 2fa recovery code | Docker, docker, registry, security, Docker Hub, authentication, two-factor authentication | Generate a new recovery code |
If you have lost your two-factor authentication recovery code and still have access to your Docker Hub account, you can generate a new recovery code.
Generate a new recovery code
- Sign in to your Docker Hub account.
- Select your username and then from the drop-down menu, select Account Settings.
- Navigate to the Security tab and select Click here to generate a new code.
- Enter your password.
Your new recovery code is displayed. Remember to save your recovery code and store it somewhere safe.