class

Docker::Image

Inherits Docker::ApiClientWrapper / Reference / Object

Interact with a single image that exists on a docker client.

Constructors

new(client : Docker::Api::ApiClient, id : String)

Create a new image interaction object for the passed image id.

Source

Create a new image interaction object based on a previous queried image model.

Source

Instance methods

attrs

Locally cached image attributes.

This is populated at the time of object creation. Use '#reload!' to update.

Source
id

The ID of the image object.

Source
labels

The labels of a image.

Source
reload!

Load this object from the server again and update attrs with the new data.

Source
short_id

The ID of the image truncated to 10 characters, plus the "sha256:" prefix.

Source
tags

The image's tags.

Source