Package org.jclouds.docker.domain
Class Image
java.lang.Object
org.jclouds.docker.domain.Image
Represents a response from Docker "Inspect an image" call (
GET /images/(name)/json
).-
Method Summary
Modifier and TypeMethodDescriptionabstract String
abstract String
author()
abstract String
comment()
abstract Config
config()
abstract String
abstract Config
static Image
create
(String id, String author, String comment, Config config, Config containerConfig, String parent, Date created, String container, String dockerVersion, String architecture, String os, long size, long virtualSize, List<String> repoTags) abstract Date
created()
abstract String
abstract String
id()
abstract String
os()
abstract String
parent()
repoTags()
Tags of the image.abstract long
size()
abstract long
-
Method Details
-
id
-
author
-
comment
-
config
-
containerConfig
-
parent
-
created
-
container
-
dockerVersion
-
architecture
-
os
-
size
public abstract long size() -
virtualSize
public abstract long virtualSize() -
repoTags
Tags of the image. The value isnull
when the instance comes fromImageApi.inspectImage(String)
. Other methods can populate the content (e.g.DockerComputeServiceAdapter.listImages()
call.The tags are in form "ubuntu:12.10", "docker.io/busybox:1.23.2", ...
- Returns:
- list of tags or
null
-
create
-