小编Hum*_*Ali的帖子

无法在 Windows 10 中执行脚本 docker-compose YML 文件

我正在使用 Windows 10 和 docker toolbox,当我尝试docker compose up --build选项时,出现以下错误:

pywintypes.error: (2, 'CreateFile', 'The system cannot find the file specified.')

docker.errors.DockerException: Error while fetching server API version: (2, 'CreateFile', 'The system cannot find the file specified.') [8628] Failed to execute script docker-compose

完整摘录如下:

Traceback (most recent call last):
  File "docker\api\client.py", line 214, in _retrieve_server_version
  File "docker\api\daemon.py", line 181, in version
  File "docker\utils\decorators.py", line 46, in inner
  File "docker\api\client.py", line 237, in _get
  File "requests\sessions.py", line 543, in get
  File …
Run Code Online (Sandbox Code Playgroud)

javascript windows json docker docker-compose

2
推荐指数
1
解决办法
6249
查看次数

标签 统计

docker ×1

docker-compose ×1

javascript ×1

json ×1

windows ×1