Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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.