win10 操作系统, docker-compose 错误
系统环境:
Client:
Version: 18.09.3
API version: 1.39
Go version: go1.12
Git commit: 774a1f4eee
Built: Mon Mar 4 10:36:44 2019
OS/Arch: windows/amd64
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 18.09.3
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: 774a1f4
Built: Thu Feb 28 06:40:51 2019
OS/Arch: linux/amd64
Experimental: false
当遇见:
File "compose\progress_stream.py", line 101, in get_digest_from_pull
File "compose\service.py", line 1182, in _do_pull
File "site-packages\docker\api\image.py", line 381, in pull
File "site-packages\docker\auth.py", line 48, in get_config_header
File "site-packages\docker\auth.py", line 96, in resolve_authconfig
File "site-packages\docker\auth.py", line 127, in _resolve_authconfig_credstore
File "site-packages\dockerpycreds\store.py", line 25, in __init__
dockerpycreds.errors.InitializationError: docker-credential-desktop not installed or not available in PATH
[3432] Failed to execute script docker-compose
解决方案: 1 .到 https://github.com/docker/docker-credential-helpers/releases/download/v0.6.3/docker-credential-wincred-v0.6.3-amd64.zip ,下载这个文件, 将文件解压之后: 改名为: docker-credential-desktop.exe ,
2 , 将文件所在文件夹添加到系统环境变量下面