#2 – open //.pipe/docker_engine: The system cannot find the file specified. – Docker Toolbox error

Problem

After I launched Docker Quickstart Terminal I found this error testing if the software was correctly running. In the follow image the full error log:docker engine

Solution

Looking for this error around the web I found a solution that for me worked. Comment at this post if you find a better solution. Here the steps:

  1. Check if the daemon is running with the command docker-machine start default, if it is running the result will be the follow:
    [email protected] MINGW64 ~
    $ docker-machine start default
    Starting "default"...
    Machine "default" is already running.
  2. If the daemon was running, as for me, try to delete and recreate the default virtual machine with the follow two commands:
    $ docker-machine rm -f default
    $ docker-machine create -d virtualbox default

    here the results:docker
  3. I launched the command docker-machine env default to check environment variables, as indicated in the last part of log,:
    [email protected] MINGW64 ~
    $ docker-machine env default
    export DOCKER_TLS_VERIFY="1"
    export DOCKER_HOST="tcp://192.168.83.100:2456"
    export DOCKER_CERT_PATH="C:\Users\Al\.docker\machine\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 default)
  4. finally, as suggested by the last command log result, I launched the command:
    [email protected] MINGW64 ~
    $ eval $("C:\Program Files\Docker Toolbox\docker-machine.exe" env default)

Now my Docker Quickstart Toolbox is running perfectly! If you have any problem with this procedure please comment this post or the main post. Thanks! GWH!

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

About Daniele Dalla Torre

I'm a Civil Engineering student but I love to learn everything about technology, from the basics to the new frontiers! Here my gpg public key!

Leave a Reply

Your email address will not be published.

*