This repository was archived by the owner on Aug 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 128
Add note on WSL2 path formatting for hot reloading in Rancher Desktop on Windows #1769
Merged
Merged
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
e08f31c
Added notes for hotreloading lambda functions with rancher desktop wi…
Darasimi-Ajewole dbe7f5c
remove emoji
quetzalliwrites 941d5e3
fix linting error
quetzalliwrites 6371fe3
code lines need a blank space before
quetzalliwrites 186d896
Update index.md
Darasimi-Ajewole df4344d
Updating formatting
Darasimi-Ajewole cb5b540
Move to a more appropriate location
Darasimi-Ajewole c4ecea8
Apply suggestions from code review
quetzalliwrites 343db56
fixed linting error
quetzalliwrites File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -159,3 +159,20 @@ | |
|
|
||
| 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: | ||
| ``` | ||
|
Check failure on line 174 in content/en/user-guide/integrations/rancher-desktop/index.md
|
||
quetzalliwrites marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| /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. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.