Skip to content

Conversation

@MindeedG
Copy link

On Windows, Docker Desktop can sometimes cause cache-related issues, which may lead to slower builds or unexpected behavior when working with Symfony Docker projects.

This PR updates the documentation to recommend using a Linux distribution under WSL (e.g., Ubuntu or Debian) and installing Docker natively in the Linux environment. This setup provides a more stable and reliable workflow.

It includes instructions for:

Installing Ubuntu under WSL
Installing Docker directly in Ubuntu

@7-zete-7
Copy link
Contributor

Hi @MindeedG!

Wow! I haven't seen any information about cache-related issues when using Docker Desktop on WSL2 before. Do you have any links to resources that describe this issue? I'd be interested in learning more about it.

@MindeedG
Copy link
Author

Hi @7-zete-7,

I don't have any official resources to share with you, but after encountering these issues, AI suggested this solution to me, and it worked.

It seems to be related to the fact that this installation doesn't share filesystem between OS.

@7-zete-7
Copy link
Contributor

I tried to find any information about this issue, but I couldn't find any mention of it.

It currently looks like the XY problem. Cache and performance issues with Windows/WSL are occasionally encountered, but they're usually related to an incorrectly configured environment or configuration. It could also be because the project was located on the Windows filesystem, not in WSL2 itself (this does cause problems, see #800, #609, #509, etc.).

If there really is a cache-related issue with Docker Desktop, I think it would be best to report it in the Docker Desktop for Windows repository so that the issue can be brought to light.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants