This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Commit 3c0cf29
committed
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 <dave@recoil.org>1 parent f8ebdf6 commit 3c0cf29
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
191 | 198 | | |
192 | 199 | | |
193 | 200 | | |
| |||
0 commit comments