Bug: sam invoke start-api
doesn't mount sam artifacts on /var/task on Windows with Rancher Desktop
#7807
Labels
stage/needs-triage
Automatically applied to new issues and PRs, indicating they haven't been looked at.
type/feature
Feature request
Description:
Rancher Desktop seems to accept windows style path (C:\dir\to.aws-sam\build\Function) in bind mounts.
However,
sam local start-api
creates container with unix-like path style (/c/dir/to/.aws-sam/build/Function) bindings which doesn't bind our artifact to host.Steps to reproduce:
sam init
sam build
to create artifactsam local start-api
to start container with host artifact directory is bound to/var/task
docker container exec <created-container> ls /var/task
Observed result:
nothing listed
Expected result
files in
.aws-sam/build/HelloWorldFunction
listedAdditional environment details (Ex: Windows, Mac, Amazon Linux etc)
The text was updated successfully, but these errors were encountered: