Executing docker version
returns the following results.
C:\\Projects> docker version
Client:
Version: 1.13.0-dev
API version: 1.25
G
I have faced same issue, it may be issue of administrator, so followed below steps to setup docker on
windows10
.
Docker Desktop Installer.exe
file will be downloaded.Docker Desktop Installer.exe
using Run as administrator
-> Mark windows container during installation else it will only install linux container. It will ask for Logout after logging out and login it shows docker desktop in menu.Run as administrator
I know this question was long ago but I found no proper explanation and solution, so hopefully, my answer is useful :)
Assuming you install Docker Toolbox on Windows, both docker
and docker-machine
commands will be available. Often, people get confused when to use either of these.
The docker
commands are used only within a virtual machine to manage images. The docker-machine
commands are used on the host to manage the Linux VMs.
So, please use docker-machine
commands on your Windows machine. Use docker
command inside your VM. To use the docker
commands, for example, docker ps
, you either can open Docker Quickstart Terminal or run these on your cmd/bash/PowerShell:
docker-machine run default
/assuming default is your Linux VM/
docker-machine ssh default
This will start boot2docker and you will see the docker icon on the command line. Then you can use docker
commands.
Good luck :)
Solved for me by running a docker desktop app, check-in notification. Setup if necessary.
$ net start com.docker.service
The Docker for Windows Service service is starting. The Docker for Windows Service service was started successfully.
$ docker version
$ net start com.docker.service
The requested service has already been started.
with the recent update of docker, I had an issue which was docker app hanged at startup. I resolved this by terminating wsl.exe using taskmanager.
After installing docker desktop into your pc (windows one). You may find up this location. What is actually does,? It starts the Docker Daemon via your CLI
C:\Windows\System32\cmd.exe\DockerCli.exe -SwitchDaemon
I was getting same errors after an install on Windows 10. And I tried restarting but it did not work, so I did the following (do not recommend if you have been working in docker for awhile, this was on a fresh install):
1) Find the whale in your system tray, and right click
2) Go to settings > Reset
3) Reset to factory defaults
I was then able to follow the starting docker tutorial on the website with Windows 10, and now it works like a charm.