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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Darasimi-Ajewole
Copy link

@Darasimi-Ajewole Darasimi-Ajewole commented May 13, 2025

This PR adds a clarification to the Rancher Desktop documentation for Windows users running LocalStack via WSL2.

Specifically, it documents that when using hot reloading for Lambda functions, paths to Lambda handlers must be specified using WSL2-compatible paths /mnt/c/ rather than Windows-style paths C:\

Without this, volume mounting of the lambda code into the lambda container would fail with a unintelligible error.

Changes:

Added a note under the Windows section of the Rancher Desktop guide.

Included a code snippet showing the correct WSL2 path format.

Motivation:

Hot reloading is a key developer feature in LocalStack, and ensuring it works reliably in WSL2-based workflows improves developer experience and reduces setup friction.

Copy link

⚡️ Deploying PR Preview...

@Darasimi-Ajewole Darasimi-Ajewole changed the title Helpful Docs for Setting up Hot Reloaded Lambdas with Rancher Desktop and WSL2 Add note on WSL2 path formatting for hot reloading in Rancher Desktop on Windows May 13, 2025
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.

1 participant