1

I am trying to test a simple lambda function using docker on windows. I already have a docker lambcy/lambda image

But this line:

docker run --rm -v "$PWD":/var/task lambci/lambda does not work on windows.

What is the appropiate way to do this?

1 Answer 1

1
docker run --rm -v "$PWD":/var/task lambci/lambda

The command that you running is targeting linux platform, as for windows platform maybe you can try below instead

docker run --rm -it -v %cd%:/var/task lambci/lambda
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.