Hi,
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 http://docs.docker.com/windows/step_four/ thanks in advance for any help, excited to get this up and running
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 192.168.99.100
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
Dockerfile
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 http://127.0.0.1:2375/v1.20/build?cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&memory=0&memswap=0&rm=1&t=docker-whale&ulimits=null: dial tcp 127.0.0.1:2375: 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
NAME ACTIVE DRIVER STATE URL SWARM
default virtualbox Running tcp://192.168.99.100:2376
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