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

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 s…


This content originally appeared on DEV Community and was authored by Rajesh Kumar Yadav

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"
  1. Add Docker to system PATH
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\Docker", [System.EnvironmentVariableTarget]::Machine)
  1. Register and start the Docker service
& 'C:\Program Files\Docker\dockerd.exe' --register-service
Start-Service docker
  1. Set Docker to use Windows containers
docker context use default
  1. Test with a Windows container
docker run mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c echo Hello from Docker

That’s it.

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


This content originally appeared on DEV Community and was authored by Rajesh Kumar Yadav


Print Share Comment Cite Upload Translate Updates
APA

Rajesh Kumar Yadav | Sciencx (2025-07-29T07:53:36+00:00) How to Install Docker Engine on Windows Server 2025 VPS (No Hyper-V). Retrieved from https://www.scien.cx/2025/07/29/how-to-install-docker-engine-on-windows-server-2025-vps-no-hyper-v/

MLA
" » How to Install Docker Engine on Windows Server 2025 VPS (No Hyper-V)." Rajesh Kumar Yadav | Sciencx - Tuesday July 29, 2025, https://www.scien.cx/2025/07/29/how-to-install-docker-engine-on-windows-server-2025-vps-no-hyper-v/
HARVARD
Rajesh Kumar Yadav | Sciencx Tuesday July 29, 2025 » How to Install Docker Engine on Windows Server 2025 VPS (No Hyper-V)., viewed ,<https://www.scien.cx/2025/07/29/how-to-install-docker-engine-on-windows-server-2025-vps-no-hyper-v/>
VANCOUVER
Rajesh Kumar Yadav | Sciencx - » How to Install Docker Engine on Windows Server 2025 VPS (No Hyper-V). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/07/29/how-to-install-docker-engine-on-windows-server-2025-vps-no-hyper-v/
CHICAGO
" » How to Install Docker Engine on Windows Server 2025 VPS (No Hyper-V)." Rajesh Kumar Yadav | Sciencx - Accessed . https://www.scien.cx/2025/07/29/how-to-install-docker-engine-on-windows-server-2025-vps-no-hyper-v/
IEEE
" » How to Install Docker Engine on Windows Server 2025 VPS (No Hyper-V)." Rajesh Kumar Yadav | Sciencx [Online]. Available: https://www.scien.cx/2025/07/29/how-to-install-docker-engine-on-windows-server-2025-vps-no-hyper-v/. [Accessed: ]
rf:citation
» How to Install Docker Engine on Windows Server 2025 VPS (No Hyper-V) | Rajesh Kumar Yadav | Sciencx | https://www.scien.cx/2025/07/29/how-to-install-docker-engine-on-windows-server-2025-vps-no-hyper-v/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.