This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error message if the user is not logged in
Previously the error message prompted the user to `docker login`, but this will not work if - 2FA is required - SSO is enabled with enfocement on Docker Hub, see https://docs.docker.com/single-sign-on/#enforce-sso-in-docker-hub The most reliable way to login is through the Docker Desktop UI, since the SSO/2FA flows are all handled automatically (via the web browser) Try to improve the error message by explaining the options. Signed-off-by: David Scott <[email protected]>
- Loading branch information