List Images Run in API Explorer
Returns a list of images on the server. Note that it uses a different, smaller representation of an image than inspecting a single image.
Query parameters
-
Show all images. Only images from a final layer (no children) are shown by default.
Default value is
false
. -
A JSON encoded value of the filters (a
map[string][]string
) to process on the images list.Available filters:
before
=(<image-name>[:<tag>]
,<image id>
or<image@digest>
)dangling=true
label=key
orlabel="key=value"
of an image labelreference
=(<image-name>[:<tag>]
)since
=(<image-name>[:<tag>]
,<image id>
or<image@digest>
)until=<timestamp>
-
Show digest information as a
RepoDigests
field on each image.Default value is
false
.
GET
/images/json
curl \
--request GET 'http://api.example.com/v1.44/images/json'
Response examples (200)
[
{
"Id": "sha256:ec3f0931a6e6b6855d76b2d7b0be30e81860baccd891b2e243280bf1cd8ad710",
"ParentId": "string",
"RepoTags": [
"example:1.0",
"example:latest",
"example:stable",
"internal.registry.example.com:5000/example:1.0"
],
"RepoDigests": [
"example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb",
"internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578"
],
"Created": "1644009612",
"Size": 172064416,
"SharedSize": 1239828,
"VirtualSize": 172064416,
"Labels": {
"com.example.some-label": "some-value",
"com.example.some-other-label": "some-other-value"
},
"Containers": 2
}
]
Response examples (500)
{
"message": "Something went wrong."
}
Response examples (500)
{
"message": "Something went wrong."
}