-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bug: Docker 4.33 + Provided.al2 Image error #7327
Comments
It seems this issue was attempted to be fixed in #7061, however the issue still persists |
Docker 4.33 seems to have caused this issue, downgrading to 4.32 fixed it for now. Can you please look into why? |
As discussed in the previous issue, this is not originating from SAM CLI, but it is coming from Docker Desktop. What happens if you try to build with |
I tried that approach and it still didn't work. Cleared my entire docker cache to ensure a "fresh start". |
Just to confirm you are using a Rust lambda function right?
In this case, I will recommend creating an issue on https://github.com/docker/for-mac/issues for Docker Desktop to track this issue. |
Experiencing this with a golang lambda as well on v4.33 |
I am running the golang compiled binary on the bootstrap provided.al2023 image as go1.x is deprecated |
Yeah I opened an issue in a couple places. It's either an image issue or docker 4.33 issue |
Thanks for opening the other issues. Since it works with earlier docker version, I suspect it is related to latest Docker release. I will keep this open for now for visibility, until we get some updates from the other issues above. |
Fixed in docker 4.34.0 |
|
Description:
when trying to run a lambda (either through
sam local invoke
orsam local start-api
Any invocation of the image is met with the following error
Init failed error=fork/exec /var/task/bootstrap: invalid argument InvokeID=
Steps to reproduce:
Install AWS-SAM-CLI 1.121.0
Install Docker 4.33
Try to execute a lambda using the
provided.al2
imageExpectation: Execution succeeds
Actual:
Init failed error=fork/exec /var/task/bootstrap: invalid argument InvokeID=
Observed result:
Expected result:
Lambda execution successful, but it isn't.
Execution succeeds with Docker v4.32.0
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
MacOs x86
sam --version
: 1.121.0Add --debug flag to command you are running
The text was updated successfully, but these errors were encountered: