Using Docker images as deployment packages for AWS Lambda has two notable disadvantages from my point of view:
- You're suddenly responsible for managing the whole operating system again, neglecting one of the major benefits of AWS Lambda.
- You need to store the Docker images in AWS Elastic Container Registry (ECR) which adds additional complexity to the setup.