Security News > 2020 > January > How to access your 2FA Docker Hub account from the command line

How to access your 2FA Docker Hub account from the command line
2020-01-09 15:54

With 2FA enabled on your Docker Hub account, you'll find you cannot access it with your user password from within the CLI. Jack Wallen shows you how to make this work.

If you've recently added two-factor authentication to your Docker Hub account, you've more than likely run into a situation where you can no longer access the account from the command line using the standard username/password credentials.

So instead of either ignoring 2FA on your Docker Hub account, or disabling it the second you can't gain access from the CLI, let's fix that problem.

The first thing to do is to get your Docker Hub access token.

Congratulations, you now can access your Docker Hub 2FA-enabled account from the command line.


News URL

https://www.techrepublic.com/article/how-to-access-your-2fa-docker-hub-account-from-the-command-line/#ftag=RSS56d97e7

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Docker 24 0 19 36 20 75