compose: docker-compose could not connect to docker daemon on windows 10

I am install docker for windows from https://download.docker.com/win/stable/InstallDocker.msi

I can run docker command , but docker-compose does not working.

PS D:\workspace\netroby\kt-client> docker-compose up
ERROR: Couldn't connect to Docker daemon. You might need to install Docker:

https://docs.docker.com/engine/installation/
PS D:\workspace\netroby\kt-client> docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
PS D:\workspace\netroby\kt-client> docker images
REPOSITORY                 TAG                 IMAGE ID            CREATED             SIZE
netroby/docker-kt-client   latest              1902c4e6f453        29 minutes ago      702 MB
PS D:\workspace\netroby\kt-client> docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 1.12.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 8
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.15-moby
Operating System: Alpine Linux v3.4
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.952 GiB
Name: moby
ID: AY6G:MWXP:XKEZ:2MJX:SASZ:LUAH:QM65:P3XI:4QHX:2Q6D:I3F3:2EOD
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
 127.0.0.0/8

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16

Most upvoted comments

why is this closed, the error is still present in latest builds, see also #1188