Docker Windows
Docker Windows Install
windows 10 docker 安裝 和 除錯
Install 安裝
Hello World App
1 | docker run -d --rm --name web-test -p 80:8000 crccheck/hello-world |
Error
⬇❌ Error ❌⬇
👽
1 | docker: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create?name=web-test": open //./pipe/docker_engine: The system cannot find the file specified. |
👽
fix error
Docker Icon Right Click Quit Docker Desktop
C:\Users\nigo\AppData\Roaming\Docker\settings.json
“extensionsEnabled”: false
docker desktop –> Troubleshoot –> click on wsl 2 and delete.
關閉 docker 應用,開啟設定檔,如果還是不行,請再次嘗試 1~3 步驟即可!👆
Linux / Ubuntu
Install
1 | wsl --install -d Ubuntu |
⬇❌ Error ❌⬇
👽
1 | Error: 0x800701bc WSL 2.... |
WSL 1 update
遇到此錯誤,請前往下方連結,進行更新。
WSL
安裝完成後,wsl 各項版本確認
1 | wsl -l -v |
Docker Windows