是否可以在 AWS Lambda 上运行 docker image/DockerFile? [英] Is it possible to run docker image/DockerFile on AWS Lambda?

查看:27
本文介绍了是否可以在 AWS Lambda 上运行 docker image/DockerFile?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用我给定的 Dockerfile 部署一个 docker 映像,该 Dockerfile 在 AWS Lambda 云上执行一个程序.我知道 EC2 可以,但我想使用 AWS Lambda.任何人有参考或知道是否可能?

I want to deploy a docker image with my given Dockerfile that executes a program on the AWS Lambda cloud. I know it is possible for EC2 but I want to use AWS Lambda. Anyone have references or know if it is possible?

我也在查看具有 docker 功能的 AWS Elastic Beanstalk,但它似乎适用于 Web 应用程序?我试图在云上执行的程序不是网络应用程序.

I was looking at the AWS Elastic Beanstalk as well that has docker capabilities, but it seems it is for web applications? My program that i'm trying to execute on the cloud is NOT a web application.

推荐答案

有一篇文章涵盖了这个以及两个项目.这是文章,以及这两个是这样做的框架.

There's an article covering this as well as two projects. Here's the article, and these two are frameworks for doing so.

  • docker-in-aws-lambda (from the article)
  • docker-lambda

这篇关于是否可以在 AWS Lambda 上运行 docker image/DockerFile?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆