How to Install Docker Engine on Windows Server 2025 VPS (No Hyper-V)
Rajesh Kumar Yadav

Rajesh Kumar Yadav @rajeshkumaryadavdotcom

About: I’m a Frontend Engineer by profession and a passionate Technical Blogger. I enjoy sharing knowledge, contributing to open-source projects, and connecting with fellow developers.

Location:
London
Joined:
May 6, 2021

How to Install Docker Engine on Windows Server 2025 VPS (No Hyper-V)

Publish Date: Jul 29
1 0

Running Docker on a Windows Server 2025 VPS can be tricky—especially without Hyper-V or GUI support. Here’s a minimal, working way to get Docker Engine running for Windows containers only.

Why Hyper-V Fails on VPS

Most VPS platforms don’t support nested virtualization, so trying to install Hyper-V leads to this error:

Hyper-V cannot be installed: The processor does not have required virtualization capabilities.

That rules out Linux containers. But you can still run Windows containers using Docker Engine directly.

Step-by-Step: Install Docker Engine Manually

  1. Download and extract Docker
Invoke-WebRequest -Uri "https://download.docker.com/win/static/stable/x86_64/docker-20.10.24.zip" -OutFile "$env:TEMP\docker.zip"
Expand-Archive -Path "$env:TEMP\docker.zip" -DestinationPath "C:\Program Files\Docker"
Enter fullscreen mode Exit fullscreen mode
  1. Add Docker to system PATH
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\Docker", [System.EnvironmentVariableTarget]::Machine)
Enter fullscreen mode Exit fullscreen mode
  1. Register and start the Docker service
& 'C:\Program Files\Docker\dockerd.exe' --register-service
Start-Service docker
Enter fullscreen mode Exit fullscreen mode
  1. Set Docker to use Windows containers
docker context use default
Enter fullscreen mode Exit fullscreen mode
  1. Test with a Windows container
docker run mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c echo Hello from Docker
Enter fullscreen mode Exit fullscreen mode

That’s it.

This setup skips broken PowerShell providers and avoids Docker Desktop entirely. Ideal for headless VPS setups or automation scripts.

Comments 0 total

    Add comment