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

nikocraft's avatar

Laravel on windows with Docker and Linux subsystem issue

When running with Docker on Windows and using linux subsystem (WSL version 2) I can't get Docker to delete any container that I want to remove. Anyone else had this problem on windows and how to solve it?

See screenshot to how Docker responds: https://i.imgur.com/jEpGbq7.png

Docker says "can't remove docker container, reason being that folder in question '/home/niko/laravel-app1', it's path can not be found.

however I can navigate to this folder via Explorer \wsl$\Ubuntu-20.04\home\niko\laravel-app1

Anyone had any experience with this?

0 likes
1 reply

Please or to participate in this conversation.