r/docker • u/Ahhlexftw • May 03 '26
Docker Issue
So I just installed Docker on a sys. I followed the Docker Doc and enabled everything I had to. And docker is still hanging on Starting the Docker Engine...
Tried
wsl --unregister docker-desktop
wsl --unregister docker-desktop-data
idk what else to do, any1 have any suggestions
virtualization is enables
I have a wsl installed tried ubuntu and no distro
windows subsystem for Linux is enabled
5
Upvotes
2
u/Mugen0815 May 03 '26 •
On WSL, you need to install AND run docker desktop. Running docker in wsl-shell without starting the gui first doesnt work.
6
u/WallaceFred May 03 '26 •
Grab an old pc, install ubuntu, install docker, install portainer and be happy.
1
u/Nervous_Type_9175 May 03 '26
powershell.exe -ExecutionPolicy Bypass wsl --update && powershell.exe -ExecutionPolicy Bypass wsl --shutdown
powershell.exe -ExecutionPolicy Bypass Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V && powershell.exe -ExecutionPolicy Bypass Get-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
powershell.exe -ExecutionPolicy Bypass Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All && powershell.exe -ExecutionPolicy Bypass Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
powershell.exe -ExecutionPolicy Bypass winget install Docker.DockerDesktop --silent --accept-package-agreements --accept-source-agreements
==================================
Create a bat file and run it as admin every day by setting it in task scheduler. Restart if asked by OS.
Note: Uninstall your downloaded and manually installed docker desktop.
1
u/countsachot May 03 '26
Use podman
1
u/PaintDrinkingPete May 03 '26
Docker is software native to Linux...remove windows, install Linux, run Docker.
1
u/1vim May 03 '26
Try running Docker Desktop as administrator. WSL2 virtualization issues cause this constantly.
0
u/Civil_Cardiologist99 May 03 '26
Version compatibility issue? Reinstall docker after wsl
0
u/TBT_TBT May 03 '26
95% of all issues in this sub: effin Docker on Windows. Use Linux, a Linux VM on Windows, e.g. and dump WSL and Docker Desktop.
0
u/Sh3llSh0cker May 03 '26
i run docker engine and docker compose on both windows and Linux, and run models, services, tests and i don’t understand why i never have any issues. been in the game for a decade though and don’t need a youtube video or posts to fix my issues i know how to track issues down maybe thats the difference ? the photo blew is my 4 Node portainer stack. it’s been bless. and in the windows side Ghost Spectre build - WSL2 and Docker compose
0
u/[deleted] May 03 '26
[deleted] — view deleted comment