Skip to content

Commit bcc696b

Browse files
Merge pull request #235247 from tejaswikolli-web/git98288
Git:98288
2 parents 5cbc93d + f065a95 commit bcc696b

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

articles/container-registry/container-registry-delete.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -184,21 +184,28 @@ As mentioned in the [Manifest digest](container-registry-concepts.md#manifest-di
184184
```output
185185
[
186186
{
187-
"digest": "sha256:7ca0e0ae50c95155dbb0e380f37d7471e98d2232ed9e31eece9f9fb9078f2728",
188-
"tags": [
189-
"latest"
190-
],
191-
"timestamp": "2018-07-11T21:38:35.9170967Z"
192-
},
193-
{
194-
"digest": "sha256:d2bdc0c22d78cde155f53b4092111d7e13fe28ebf87a945f94b19c248000ceec",
195-
"tags": [],
196-
"timestamp": "2018-07-11T21:32:21.1400513Z"
187+
"architecture": "amd64",
188+
"changeableAttributes": {
189+
"deleteEnabled": true,
190+
"listEnabled": true,
191+
"quarantineDetails": "{\"state\":\"Scan Passed\",\"link\":\"https://aka.ms/test\",\"scanner\":\"Azure Security Monitoring-Qualys Scanner\",\"result\":{\"version\":\"2020-05-13T00:23:31.954Z\",\"summary\":[{\"severity\":\"High\",\"count\":2},{\"severity\":\"Medium\",\"count\":0},{\"severity\":\"Low\",\"count\":0}]}}",
192+
"quarantineState": "Passed",
193+
"readEnabled": true,
194+
"writeEnabled": true
195+
},
196+
"configMediaType": "application/vnd.docker.container.image.v1+json",
197+
"createdTime": "2020-05-16T04:25:14.3112885Z",
198+
"digest": "sha256:eef2ef471f9f9d01fd2ed81bd2492ddcbc0f281b0a6e4edb700fbf9025448388",
199+
"imageSize": 22906605,
200+
"lastUpdateTime": "2020-05-16T04:25:14.3112885Z",
201+
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
202+
"os": "linux",
203+
"timestamp": "2020-05-16T04:25:14.3112885Z"
197204
}
198205
]
199206
```
200207

201-
As you can see in the output of the last step in the sequence, there is now an orphaned manifest whose `"tags"` property is an empty list. This manifest still exists within the registry, along with any unique layer data that it references. **To delete such orphaned images and their layer data, you must delete by manifest digest**.
208+
The tags array is removed from meta-data when an image is **untagged**. This manifest still exists within the registry, along with any unique layer data that it references. **To delete such orphaned images and their layer data, you must delete by manifest digest**.
202209

203210
## Automatically purge tags and manifests
204211

0 commit comments

Comments
 (0)