Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

MohamedTammam's avatar

Docker is not running.

I installed Docker and enabled WSL2 on win10 version 20H2.

When I try to run ./vendor/bin/sail up on Laravel project that I installed sail on, I get that message and nothing happens.

Docker is not running.

That's the result that I get when I run wsl --list -v

NAME                   STATE           VERSION
* docker-desktop-data    Running         2
  docker-desktop         Running         2
  Ubuntu-20.04           Running         2
0 likes
4 replies
Dunsti's avatar

make sure to run "Docker for Windows" within Windows first (can you see that blue docker-icon next to the clock in the lower right corner? )

MohamedTammam's avatar

@Dunsti Yeah, I can see. and by that I assume it's running. I even can run other containers.

Dunsti's avatar
Dunsti
Best Answer
Level 6

did you activate your Distro in the settings of "Docker For WIndows"? (there's a checkbox in "Settings->Resources")

Also make sure, to check the checkbox "Use the WSL2 based engine" in "Settings->General"

See here: https://docs.docker.com/desktop/windows/wsl/

MohamedTammam's avatar

@Dunsti Thanks, that worked.

I wasn't enabling the distor option under Settings > resources > WSL INTEGRATION

Please or to participate in this conversation.