我每天都使用Docker,但今天出现了一个问题,而没有改变任何东西。我打开了Docker终端并尝试启动我的一个容器。但它给出了这个错误:“无法建立连接,因为目标计算机积极拒绝”。我正在使用Windows 10。
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o __/
\ \ __/
\____\_______/
docker is configured to use the default machine with IP 192.168.99.100
For help getting started, check out the docs at https://docs.docker.com
admin@samsung MINGW64 ~
$ docker ps
An error occurred trying to connect: Get http://127.0.0.1:2375/v1.22/containers/json: dial tcp 127.0.0.1:2375: connectex: No connection could be made because the target machine actively refused it.
admin@samsung MINGW64 ~
$ docker version
Client:
Version: 1.10.2
API version: 1.22
Go version: go1.5.3
Git commit: c3959b1
Built: Mon Feb 22 22:37:33 2016
OS/Arch: windows/amd64
An error occurred trying to connect: Get http://127.0.0.1:2375/v1.22/version: dial tcp 127.0.0.1:2375: connectex: No connection could be made because the target machine actively refused it.
$ docker container list -a
会输出error during connect: Get "http://127.0.0.1:2375/v1.24/containers/json?all=1": dial tcp 127.0.0.1:2375: connectex: No connection could be made because the target machine actively refused it.
- s3c