mirror of https://github.com/docker/docs.git
812 B
812 B
| description | keywords | title | aliases | |
|---|---|---|---|---|
| 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.
- Sign in to your Docker Hub account.
- Select your avatar and then from the drop-down menu, select Account settings.
- Navigate to the Security tab and select Manage Two-Factor Authentication.
- Enter your password, then select Confirm.
In the Manage recovery code section, you can view your recovery code or generate a new code. Remember to save your recovery code and store it somewhere safe.