Will setting docker --storage-opt be deprecated?

0

My batch jobs depend on increasing the disk space available to docker by setting --storage-opt in the launch template. According to https://aws.amazon.com/premiumsupport/knowledge-center/increase-default-ecs-docker-limit this setting actually only applies to Amazon Linux 1 AMIs, which will soon be deprecated:

Important: This article is applicable if you're using Amazon Linux 1 AMIs to launch container instances in your ECS cluster. Amazon Linux 2 AMIs use the Docker overlay2 storage driver, which gives you a base storage size of the space left on your disk. Amazon Linux 1 will no longer be supported after December 31, 2020.

I guess this means I am using a v1 AMI; how then do I select a v2 AMI? I have never manually selected an AMI, I always use the defaults; in which case I am surprised that a soon-to-be-deprecated AMI is still the default.

4TufZB
已提问 3 年前373 查看次数
2 回答
0

It seems the reason this is occurring is because M4 instances use an Amazon Linux 1 AMI by default. It is possible to set the AMI to a v2 AMI in the Batch compute environment setup -- you need to look up the specific AMI for your region though.

It seems some instance types automatically pick a v2 AMI by default; hopefully this will be the case for M4 instances in the future as well.

4TufZB
已回答 3 年前
0

note that with the recent support for AL2, you don't need to look it up anymore - just specify AL2

AWS
已回答 3 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则