public abstract class Image extends Object
GET /images/(name)/json
).Modifier and Type | Method and 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() |
public abstract String id()
public abstract String parent()
public abstract Date created()
public abstract String container()
public abstract String dockerVersion()
public abstract String architecture()
public abstract String os()
public abstract long size()
public abstract long virtualSize()
@Nullable public abstract List<String> repoTags()
null
when the instance comes
from ImageApi.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", ...
null
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.