Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Add note on WSL2 path formatting for hot reloading in Rancher Desktop on Windows #1769

Merged
merged 9 commits into from
Jun 26, 2025
17 changes: 17 additions & 0 deletions content/en/user-guide/integrations/rancher-desktop/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,20 @@ services:

Finally, start the services using `docker compose up` or `nerdctl compose up`, depending on your configuration.
This will launch your LocalStack instance configured to interact with Rancher Desktop.

### Hot Reloading Lambdas in Windows (WSL2)

If you're using hot reloading for Lambda functions, make sure your Lambda handler paths are specified using **WSL2-compatible paths**.

For example, instead of using a Windows-style path like:

```bash
C:\Users\myuser\projects\lambda\handler.py
```

Use the corresponding WSL-style path:
```bash
/mnt/c/Users/myuser/projects/lambda/handler.py
```

This ensures that LocalStack can properly mount and watch your Lambda code inside the container when running under WSL2.