image

Classes

Image(*args, **kwargs) Wrap class for the docker client images dict result.


class remoteappmanager.docker.image.Image(*args, **kwargs)[source]

Bases: traitlets.traitlets.HasTraits

Wrap class for the docker client images dict result. Extracts the relevant information in a convenient interface

configurables = List

a list

description = Unicode

A long description of the image.

a unicode string

docker_id = Unicode

The docker id of the image

a unicode string

env = Dict

a dict

classmethod from_docker_dict(docker_dict)[source]

Converts the dict response from the dockerpy library into an instance of this class, extracting the relevant information.

Parameters:docker_dict (dict) – Results of docker.client.inspect_image or an item of the result of docker.client.images
icon_128 = Unicode

A visual icon to associate to the image.

a unicode string

name = Unicode

The name of the image.

a unicode string

type = Unicode

The type of the image.

a unicode string

ui_name = Unicode

The user interface (web) name of the image.

a unicode string