Basic Issue with Docker tool box 1.8.2 on Windows 7


I’ve followed the instructions to download and install the Docker Toolbox… so far great. However, I’ve had issues whenever I’ve tried to run any of the docker commands. Please see below the session I’ve had trying to create my own image as per thanks in advance for any help, excited to get this up and running :slight_smile:

Machine default already exists in VirtualBox.
Starting machine default…
Starting VM…
Started machines may have new IP addresses. You may need to re-run the docker-machine env command.
Setting environment variables for machine default…
open C:\Users\Andrew.docker\machine\machines\default\ca.pem: The system cannot find the file specified.

                    ##         .
              ## ## ##        ==
           ## ## ## ## ##    ===
       /"""""""""""""""""\___/ ===
  ~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ /  ===- ~~~
       \______ o           __/
         \    \         __/

docker is configured to use the default machine with IP
For help getting started, check out the docs at

Andrew@Andrew-PC MINGW64 ~
$ cd Desktop

Andrew@Andrew-PC MINGW64 ~/Desktop
$ mkdir testdocker

Andrew@Andrew-PC MINGW64 ~/Desktop
$ cd testdocker

Andrew@Andrew-PC MINGW64 ~/Desktop/testdocker
$ touch Dockerfile

Andrew@Andrew-PC MINGW64 ~/Desktop/testdocker
$ ls

Andrew@Andrew-PC MINGW64 ~/Desktop/testdocker
$ notedpad Dockerfile&
[1] 5444
bash: notedpad: command not found
[1]+ Exit 127 notedpad Dockerfile

Andrew@Andrew-PC MINGW64 ~/Desktop/testdocker
$ notepad Dockerfile&
[1] 2332

Andrew@Andrew-PC MINGW64 ~/Desktop/testdocker
$ cat Dockerfile
FROM docker/whalesay:latest

RUN apt-get -y update && apt-get install -y fortunes

CMD /usr/games/fortune -a | cowsay

[1]+ Done notepad Dockerfile

Andrew@Andrew-PC MINGW64 ~/Desktop/testdocker
$ docker build -t docker-whale .
Post dial tcp ConnectEx tcp: No connection could be made because the target machine actively refused it…

  • Are you trying to connect to a TLS-enabled daemon without TLS?
  • Is your docker daemon up and running?

Andrew@Andrew-PC MINGW64 ~/Desktop/testdocker
$ docker-machine ls
default virtualbox Running tcp://

Andrew@Andrew-PC MINGW64 ~/Desktop/testdocker
$ docker-machine env default
On Windows, please specify either ‘cmd’ or ‘powershell’ with the --shell flag.

Error: Unknown shell

p.s. pls note the C:\Users\Andrew.docker\machine\machines\default\ca.pem file is not present… not sure why I just installed the app…

I’m having the same problem, and found a ca.pem file under /Users/rgold/.docker/machine/certs/ca.pem - when I copied it to the directory where Docker was trying to find it, it started complaining that it couldn’t find server.pem in the same directory.

I am running OS X Yosemite.