[英]AWS Fargate run docker inside under docker
I need to run docker inside a docker because I am using Fargate as build pipeline to build AWS Sam build.我需要在 docker 中运行 docker,因为我使用 Fargate 作为构建管道来构建 AWS Sam 构建。
Similar questions have been asked here before, such as Run docker inside of docker on AWS Fargate之前这里也问过类似的问题,比如Run docker inside of docker on AWS Fargate
As stated, accessing the Docker daemon is not currently supported as it violates the principle of isolation and has implications on security.如前所述,目前不支持访问 Docker 守护程序,因为它违反了隔离原则并且对安全性有影响。 Please read here for more information about this.
请阅读此处了解更多相关信息。 Additionally it should be noted that the issue of building containers on Fargate was already raised and closed.
此外,应该注意的是,在 Fargate 上构建容器的问题已经提出并关闭。
At present, a work around is possible using Kaniko .目前, 可以使用 Kaniko 解决问题。 An example can be found here .
可以在此处找到示例。
An alternative for a build pipeline could use AWS Code Build .构建管道的替代方法可以使用AWS Code Build 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.