Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/docker/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services AWS ECR生命周期策略何时应用?_Amazon Web Services_Docker_Amazon Ecr - Fatal编程技术网

Amazon web services AWS ECR生命周期策略何时应用?

Amazon web services AWS ECR生命周期策略何时应用?,amazon-web-services,docker,amazon-ecr,Amazon Web Services,Docker,Amazon Ecr,在添加以下生命周期策略后,我看不到对映像的任何更改: { "rulePriority": 1, "description": "Keep last 5 images", "selection": { "tagStatus": "any", "countType": "imageCountMoreThan",

在添加以下生命周期策略后,我看不到对映像的任何更改:

{
  "rulePriority": 1,
  "description": "Keep last 5 images",
  "selection": {
    "tagStatus": "any",
    "countType": "imageCountMoreThan",
    "countNumber": 5
  },
  "action": {
    "type": "expire"
  }
}
何时以及如何应用它们?

来自:

您应该预期,在创建生命周期策略之后,受影响的 图像在24小时内过期

我认为AWS故意含糊其辞

我注意到S3生命周期策略也是如此:我通常必须等到第二天才能看到结果,而且它们不会立即应用