aws-cdk: (aws-lambda-python) docker build is not working
Maybe the problem is [aws-lambda-nodejs] docker build is not working · Issue #10881 · aws/aws-cdk Python version.
Reproduction Steps
new PythonFunction(this, "handler");
cdk deploy FooStack
What did you expect to happen?
docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "bash": executable file not found in $PATH: unknown.
What actually happened?
deploy is successed.
Environment
- CDK CLI Version : 1.85.0 (build 5f44668)
- Framework Version:
- Node.js Version: v15.5.1
- OS : Linux strawberry 5.4.80-gentoo-r1 #3 SMP Thu Dec 3 14:57:38 JST 2020 x86_64 AMD Ryzen Threadripper 1950X 16-Core Processor AuthenticAMD GNU/Linux
- Language (Version): Python
Other
This is 🐛 Bug Report
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 30 (22 by maintainers)
@hariseldon78
Same problem happens when building
PythonLambdaon Fedora 36. Error I was getting:Changing default
storage-driverin/etc/docker/daemon.jsonto"storage-driver": "overlay2"fixes the issue.@christophgysin I’ve created an issue so we’ll see what they will say.