错误:ERROR: failed to solve: 'XXX' error getting credentials - err: exit status 1, out: ``
解决:
- vi ~/.docker/config.json
-
- zsx@zsx [15时55分55秒] [~]
- {
- {
- "auths": {
- "harbor-g42c.corp.matrx.team": {
- "auth": "c2h1YW5neGkuemhhbmc6c2h1YW5neGkuemhhbmc="
- }
- },
- "credsStore": "desktop", # 删除掉
- "currentContext": "desktop-linux",
- "plugins": {
- "-x-cli-hints": {
- "enabled": "true"
- }
- }
- }