에 제공된 지침을 사용하여 Windows 7 컴퓨터에 Docker를 설치하기 만했습니다.Windows 7의 도커에서 기본 hello-world 프로그램을 실행할 수 없습니다.
Git
및 Virtual Box
은 이미 컴퓨터에 설치되어 있으므로 설치하는 동안 설치하지 않았습니다. 설치 후 누락 된 bash.exe
스크립트 문제가 수정되어 어느 정도는 작동하는 것으로 확인되었습니다. 하지만 기본 hello-world
도커 명령을 실행할 수 없습니다. 다음과 같은 오류가 발생합니다.
나는 이미 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
REM의 @FOR/F "토큰 = *"%에서 나는 ('고정 표시기 기계 ENV 기본값') – BMitch
i' % @ 할 수 이 문제를 해결하기위한 단계를 자세히 설명하십시오 –
[ERROR] docker 데몬이 실행되고 있지 않습니다 [/bin/lib/functions.plugin.sh:93] –