public class Container extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Container.PortMapping |
| Constructor and Description |
|---|
Container() |
| Modifier and Type | Method and Description |
|---|---|
String |
command() |
Long |
created() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
id() |
String |
image() |
String |
imageId() |
Map<String,String> |
labels() |
List<ContainerMount> |
mounts() |
List<String> |
names() |
NetworkSettings |
networkSettings() |
List<Container.PortMapping> |
ports() |
String |
portsAsString()
This method returns port information the way that
docker ps does:
0.0.0.0:5432->5432/tcp or 6379/tcp
It should not be used to extract detailed information of ports. |
Long |
sizeRootFs() |
Long |
sizeRw() |
String |
state() |
String |
status() |
String |
toString() |
public String portsAsString()
docker ps does:
0.0.0.0:5432->5432/tcp or 6379/tcp
It should not be used to extract detailed information of ports. To do so, please refer to
PortBindingPortBindingpublic String id()
public String image()
public String imageId()
public String command()
public Long created()
public String state()
public String status()
public List<Container.PortMapping> ports()
public Long sizeRw()
public Long sizeRootFs()
public NetworkSettings networkSettings()
public List<ContainerMount> mounts()
Copyright © 2016. All rights reserved.