DEV Community

Discussion on: Setting-up a local development environment using VS Code, Docker, and WSL 2

Collapse
 
elysianwebdesign profile image
Evan Marshall

Hello. I am a noob with docker and have slight experience with php. I have a local website created and I have utilized php mainly for navigation and page file structure. I built it a couple of years ago using homestead on PC and some was built with laravel/valet on Mac. I would like to use docker containers going forward and I believe this article is the way to do it, but I cannot seem to run my website. I can run the sample-app no problem following this tutorial so I am thinking there is something I need to download into my local project which is contained in the curl/laravel sample you download in this. Do I simply go into my local project and run the same curl command (this seems like a little much to download a full sample laravel app into each of my projects)? I think I am close, but just need a little nudge in the right direction. When I get to the part where I try and load my localhost:8000 the page just hangs and does not load, but works great with the sample project in this post. I can share my github repo of my project if it helps. Thanks in advance!