Home:ALL Converter>Laravel on windows with Docker and Linux subsystem issue

Laravel on windows with Docker and Linux subsystem issue

Ask Time:2022-07-05T05:38:48         Author:niko craft

Json Formatter

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: screenshot to how Docker responds

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

enter image description here

Anyone had any experience with this and how to get Docker to understand where the files actually are so it can delete the container when I ask it to do so?

Author:niko craft,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/72862238/laravel-on-windows-with-docker-and-linux-subsystem-issue
yy