mac docker-compose up 报错

更新于 阅读 12

启动镜像时报如下错误

ERROR: for gateway  Credentials store error: StoreError('Credentials store docker-credential-desktop exited with "error getting credentials - err: exit status 1, out: `keychain cannot be accessed because the current session does not allow user interaction. The keychain may be locked; unlock it by running "security -v unlock-keychain ~/Library/Keychains/login.keychain-db" and try again`".')

根据提示执行命令

security -v unlock-keychain ~/Library/Keychains/login.keychain-db

然后再执行镜像启动命令