Protegy · How to enable 2FA on

How to enable 2FA on Docker Hub

Download Protegy, connect the service in the Authenticator tab, verify a fresh code, and save the recovery options before you sign out.

✓Last reviewed: 2026-07-31
Current settings pathAccount settings → 2FA → Confirm password → Enable 2FA

Service details

Official domain
docker.com ↗
Category
Developer
Supported verification methods
Authenticator code (TOTP)

Before you start

Install Protegy, sign in to the service on a trusted device, and keep the page open while you add the account.

Setup steps

  1. 01

    Open the security settings using the path shown above.

  2. 02

    Account settings → 2FA → Confirm password → Enable 2FA

  3. 03

    In Protegy, tap add, scan the QR code, then return to the service and enter the current six-digit code.

  4. 04

    Save the service's recovery codes somewhere separate from the phone that holds your authenticator.

Recovery and troubleshooting

If a code is rejected, check that your device time is set automatically and try the next code. If you lose the phone, use a recovery code, a trusted session, or the service's official account-recovery flow.

Related terms

FAQ · Docker Hub

Before you start: Docker Hub

Install Protegy, sign in to the service on a trusted device, and keep the page open while you add the account.

Setup steps: Docker Hub

Account settings → 2FA → Confirm password → Enable 2FA

Supported verification methods: Docker Hub

Authenticator code (TOTP)

Recovery and troubleshooting: Docker Hub

If a code is rejected, check that your device time is set automatically and try the next code. If you lose the phone, use a recovery code, a trusted session, or the service's official account-recovery flow.

Official documentation

https://docs.docker.com/security/2fa/ ↗

Interface labels can change. The official documentation is the source of truth. Protegy is not affiliated with the service named on this page.

Service capability data sourced from 2FA Directory by 2factorauth. 2fa.directory ↗

Related guides