Cloud API Overview > @adpt/cloud > docker > DockerImage > image
docker.DockerImage.image() method
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns information about the version of the Docker image that reflects the current set of props for the component.
Signature:
image(): ImageRef | undefined;
Returns:
ImageRef | undefined
Remarks
Returns undefined if no image has ever been built by this component OR if the component props have changed and the image that corresponds to the current props has not yet been built.