Can you configure Amazon ECR containers to be immutable?

0

Is there a way to configure Amazon ECR containers so that they can't be changed once they're created? Here are our requirements:

  • Containers can't be changed after their built.
  • Containers can't receive updates.
  • Changes in the containerized application must require the building and deployment of a new container image.
  • Runtime data and configurations must be stored outside of the container environment.
专家
已提问 3 年前312 查看次数
1 回答
0
已接受的回答

Yes, you can configure Amazon ECR containers to be immutable. Amazon ECR uses resource-based permissions to control access to repositories. The resource-based permissions let you specify which IAM users or roles have access to a repository and what actions they can perform on it. By default, only the repository owner has access to a repository.

For more information, see Repository policies and Image tag mutability in the Amazon ECR user guide.

专家
已回答 3 年前

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

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

回答问题的准则