docker toolbox window10 啟動錯誤,重啟



$ docker-compose up -d
ERRORERROR: Windows named pipe error: 穡t??禮瓣瞻?穡?竄羹穢w????簧??C (code: 2)
Traceback (most recent call last):
File “logging\”, line 884, in emit
File “site-packages\colorama\”, line 40, in write
File “site-packages\colorama\”, line 141, in write
File “site-packages\colorama\”, line 169, in write_and_convert
File “site-packages\colorama\”, line 174, in write_plain_text
IOError: [Errno 0] Error
Logged from file, line 79

docker ps 查看一下

$ docker ps
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.36/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.



開啟 Docker Quickstart Terminal

$ docker-machine restart
Restarting “default”…
(default) Check network to re-create if needed…
(default) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
(default) Waiting for an IP…
Waiting for SSH to be available…
Detecting the provisioner…
Restarted machines may have new IP addresses. You may need to re-run the docker-machine env command.


$ docker-machine env
export DOCKER_HOST=”tcp://″
export DOCKER_CERT_PATH=”C:\Users\neo\.docker\machine\machines\default”
export DOCKER_MACHINE_NAME=”default”
# Run this command to configure your shell:
# eval $(“C:\Program Files\Docker Toolbox\docker-machine.exe” env)

[email protected] MINGW64 /e/docker (master)
$ eval $(“C:\Program Files\Docker Toolbox\docker-machine.exe” env)

$ docker-share mount -t
Testing /e/docker.. OK


$ docker-compose up -d
memcached is up-to-date
Starting nginx …
Starting elasticsearch …
Starting php7 …
Starting elasticsearch … done

About: Kaito


發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步瞭解 Akismet 如何處理網站訪客的留言資料