I’m getting this error when invoking myLambda which is using a Docker container:
Init failed error=fork/exec /var/runtime/bootstrap
To fix this, add a step to make the bootstrap file executable after you copy into the image:
COPY bootstrap ${LAMBDA_RUNTIME_DIR} RUN chmod +x ${LAMBDA_RUNTIME_DIR}/bootstrap