Package org.jclouds.docker.domain
Class Image
- java.lang.Object
-
- org.jclouds.docker.domain.Image
-
public abstract class Image extends Object
Represents a response from Docker "Inspect an image" call (GET /images/(name)/json
).
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
architecture()
abstract String
author()
abstract String
comment()
abstract Config
config()
abstract String
container()
abstract Config
containerConfig()
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
dockerVersion()
abstract String
id()
abstract String
os()
abstract String
parent()
abstract List<String>
repoTags()
Tags of the image.abstract long
size()
abstract long
virtualSize()
-
-
-
Method Detail
-
id
public abstract String id()
-
parent
public abstract String parent()
-
created
public abstract Date created()
-
container
public abstract String container()
-
dockerVersion
public abstract String dockerVersion()
-
architecture
public abstract String architecture()
-
os
public abstract String os()
-
size
public abstract long size()
-
virtualSize
public abstract long virtualSize()
-
repoTags
@Nullable public abstract List<String> 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
-
-