Skip to content

Windows docker installation

Xiao edited this page Feb 23, 2024 · 5 revisions

Problems:

C:\Projects> docker version
Client:
 Version:      1.13.0-dev
 API version:  1.25
 Go version:   go1.7.3
 Git commit:   d8d3314
 Built:        Tue Nov  1 03:05:34 2016
 OS/Arch:      windows/amd64
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.25/version: 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.

or

Unable to start Docker on Windows 10. Getting the error: "Cannot enable Hyper-V service".
This settings in Win-10 - features is ON.
log.txt
Please recommend.

Diagnostic id: 90B3DB52-FDE9-4770-AF95-0F87C69FE58D/20200517174003

Solution 1: Try the following steps or Docker's official installation guide on Windows solutions

1. Update your Window OS

2. Use the powershell on Windows

3. Install Docker

3.1 Install Docker with WSL2 on your Windows

3.2 Install WSL2 separately

  • if you did not install WSL2 but run Docker, you may have the following error. Please install and update WSL2 from https://aka.ms/wsl2kernel
3.3 After installation of Docker desktop, restart your PC

4. Enter docker -v to check the docker's version then docker pull svftools/svf-teaching:latest

Then run the docker container docker run -itd svftools/svf-teaching:latest

Solution 2: Stack-over-flow