How can I troubleshoot the "Runtime.InvalidEntrypoint" error for my Lambda function that's from a Docker image?

2 分的閱讀內容
0

I received a "Runtime.InvalidEntrypoint" error when trying to create an AWS Lambda function from a Docker image.

Resolution

When the entry in the Lambda function configuration is incorrect, you receive the "Runtime.InvalidEntrypoint". To resolve this issue, check the following configuration settings for your Lambda function.


Related information

How do I create a Lambda layer using a simulated Lambda environment with Docker?

Troubleshoot container image issues in Lambda

How do I use container images with Lambda?

AWS 官方
AWS 官方已更新 1 年前
2 評論

Recieved the error "rror: fork/exec /lambda-entrypoint.sh: exec format error Runtime.InvalidEntrypoint"

Was able to resolve the error after adding respective architecture tag in docker file for runtime image "public.ecr.aws/lambda/python:3.11-x86_64",

回答 6 個月前

Thank you for your comment. We'll review and update the Knowledge Center article as needed.

profile pictureAWS
管理員
回答 6 個月前