get_container_images
(**kwargs)¶Returns the container images that are registered to your Amazon Lightsail container service.
Note
If you created a deployment on your Lightsail container service that uses container images from a public registry like Docker Hub, those images are not returned as part of this action. Those images are not registered to your Lightsail container service.
See also: AWS API Documentation
Request Syntax
response = client.get_container_images(
serviceName='string'
)
[REQUIRED]
The name of the container service for which to return registered container images.
{
'containerImages': [
{
'image': 'string',
'digest': 'string',
'createdAt': datetime(2015, 1, 1)
},
]
}
Response Structure
An array of objects that describe container images that are registered to the container service.
Describes a container image that is registered to an Amazon Lightsail container service.
The name of the container image.
The digest of the container image.
The timestamp when the container image was created.
Exceptions
Lightsail.Client.exceptions.ServiceException
Lightsail.Client.exceptions.InvalidInputException
Lightsail.Client.exceptions.NotFoundException
Lightsail.Client.exceptions.AccessDeniedException
Lightsail.Client.exceptions.UnauthenticatedException