Docker Compose Up gives “The system cannot find the file specified.” error

后端 未结 10 2271
悲&欢浪女
悲&欢浪女 2021-02-11 11:44

I have recently installed Docker Toolbox on my Windows 10 machine.

However, whenever I run docker-compose up I get the following error message:

10条回答
  •  有刺的猬
    2021-02-11 12:49

    In Docker Quickstart Terminal I ran docker-machine env, and it gave me:

    export DOCKER_TLS_VERIFY="1"
    export DOCKER_HOST="tcp://192.168.99.100:2376"
    export DOCKER_CERT_PATH="C:\Users\TheGeniesis\.docker\machine\machines\default"
    export DOCKER_MACHINE_NAME="default"
    export COMPOSE_CONVERT_WINDOWS_PATHS="true"
    
    #### Run this command to configure your shell:
    eval $("C:\Program Files\Docker Toolbox\docker-machine.exe" env)
    

    I ran eval $("C:\Program Files\Docker Toolbox\docker-machine.exe" env). That's it!

    This solution was copied from this issue. I'm on a Windows 10 Home. This solved my problem.

提交回复
热议问题