I would like to obtain the created at
date for a docker image using docker API. Is this possible?
I don't see it in the docs https://docker-py.readthedocs.io/en/stable/images.html.
I see a way to obtain it using requests
but was hoping to use docker
API as my code uses docker API to grab other information such as Registry ID.
import docker
cli=docker.from_env()
cl_image = cli.images.get_registry_data(reg_url, auth_config=None)
image_hash = cl_image.id