2016-06-15 9 views
5

ここで提供されている手順を使用してWindows 7マシンにDockerをインストールしました。。Windows 7のドッカーでデフォルトのhello-worldプログラムを実行できません

インストール中に私はGitVirtual Boxを既に私のマシンにインストールしていたのでインストールしませんでした。インストール後、不足しているbash.exeスクリプトの問題を修正し、ドッカーがある程度機能しています。しかし、デフォルトのhello-worldドッカーコマンドを実行することができません。次のエラーが発生しています。

私はすでにSO Troubleshoot Docker-On-Windows attempt to run hello-worldに記載されている同様の問題を調査しましたが、私がここで得ているエラーは異なります。だから、これを重複としてマークしないでください。

$ docker run hello-world 
docker: An error occurred trying to connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.23/containers/create: open //./pipe/docker_engine: The system cannot find the file specified.. 
See 'docker run --help'. 

$ docker version 
Client: 
Version:  1.11.2 
API version: 1.23 
Go version: go1.5.4 
Git commit: b9f10c9 
Built:  Wed Jun 1 21:20:08 2016 
OS/Arch:  windows/amd64 
An error occurred trying to connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.23/version: open //./pipe/docker_engine: The system cannot find the file specified. 


$ docker-machine start default 
Starting "default"... 
Machine "default" is already running. 

$ docker-machine env default 
SET DOCKER_TLS_VERIFY=1 
SET DOCKER_HOST=tcp://192.168.99.100:2376 
SET DOCKER_CERT_PATH=C:\Users\chandeln\.docker\machine\machines\default 
SET DOCKER_MACHINE_NAME=default 
REM Run this command to configure your shell: 
REM  @FOR /f "tokens=*" %i IN ('docker-machine env default') DO @%i 

$ git --version 
git version 2.7.4.windows.1 

答えて

5

気にしないでください。 Dockerクイックスタートターミナルの代わりにWindowsターミナルからコマンドを実行していたので、間違いをしていました。いくつかのコマンドが最初に働いていたので、私はWindowsターミナルを使うと思った。あなたのシェルを設定するには、 `REMを実行し、このコマンドを実行します:あなたの出力から

$ docker run hello-world 

Hello from Docker. 
This message shows that your installation appears to be working correctly. 
+0

REM @FOR/F "トークン= *" %は、IN I( 'ドッカマシンのenvデフォルトは') – BMitch

+0

i'%@行うことができますあなたはこの問題を解決するためのステップを詳しく教えてください –

+0

[ERROR]ドッカーデーモンが実行されていません[/bin/lib/functions.plugin.sh:93] –

関連する問題