Docker Community Forums

Share and learn in the Docker community.

Docker-machine ls returns timeout when run from an elevated Windows cmd

docker

(Bodastage) #1

Issue

docker-machine ls returns timeout when run from an elevated Windows cmd However, running it from a normal cmd terminal works fine:

OS Version/build:

C:\>ver

Microsoft Windows [Version 10.0.14393]

App version

$ docker version
Client:
 Version:      17.05.0-ce
 API version:  1.29
 Go version:   go1.7.5
 Git commit:   89658be
 Built:        Fri May  5 15:36:11 2017
 OS/Arch:      windows/amd64

Server:
 Version:      17.12.0-ce
 API version:  1.35 (minimum version 1.12)
 Go version:   go1.9.2
 Git commit:   c97c6d6
 Built:        Wed Dec 27 20:12:29 2017
 OS/Arch:      linux/amd64
 Experimental: false

C:\>docker-machine version
docker-machine version 0.11.0, build 5b27455

C:\>docker-compose version
docker-compose version 1.13.0, build 1719ceb8
docker-py version: 2.2.1
CPython version: 2.7.13
OpenSSL version: OpenSSL 1.0.2j  26 Sep 2016

C:\>"C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" --version
5.2.6r120293

Steps to reproduce

First, I launch the Windows command prompt as an Administrator and run docker-machine ls as shown below:

C:\>docker-machine ls
NAME      ACTIVE   DRIVER       STATE     URL   SWARM   DOCKER   ERRORS
default            virtualbox   Timeout

Then , I launch a normal cmd terminal with Administrator privileges. I get the out put below from the same command:

C:\>docker-machine ls
NAME      ACTIVE   DRIVER       STATE     URL                         SWARM   DOCKER        ERRORS
default   -        virtualbox   Running   tcp://192.168.99.100:2376           v17.12.0-ce

Any suggestions to fix this will be appreciated.