Cloud API Overview > @adpt/cloud > docker > DockerImageInstance
docker.DockerImageInstance interface
Components that provide a Docker image can implement this interface to allow other components to get information about the Docker image.
Signature:
export interface DockerImageInstance
Methods
| Method | Description |
|---|---|
| image() | Returns information about the version of the Docker image that reflects the current set of props for the component. |
| latestImage() | Returns information about the most current version of the Docker image that has completed building, even if that version does not reflect the current set of props for the component. |
| pushTo(registryUrl, newTag) | Pushes the image returned by latestImage to a Docker registry. |