Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,24 @@ You can finally start your prod container(s) by running:
```console
docker compose -f compose.yaml -f compose.prod.yaml up --wait
```

## Cache issues on Windows

On Windows, Docker Desktop can sometimes cause cache-related issues. To avoid this, it is recommended to use a Linux distribution under WSL (e.g., Ubuntu, Debian) when working with Docker and Symfony.

Install Ubuntu on WSL

```
wsl --install -d Ubuntu
```

Install Docker on Ubuntu

```
sudo apt update
sudo apt install -y docker.io
sudo systemctl enable --now docker
sudo usermod -aG docker $USER
```

Note: Docker Desktop can work as an alternative, but installing Docker natively in Linux is generally faster and avoids cache-related problems.