public interface Container
Modifier and Type | Interface and Description |
---|---|
static class |
Container.PortBinding |
Modifier and Type | Method and Description |
---|---|
long |
getCreated() |
Map<String,String> |
getCustomNetworkIpAddresses()
Return IP Addresses of custom networks, mapped to the network name as the key.
|
Integer |
getExitCode()
Exit code of the container if it already has excited
|
String |
getId() |
String |
getImage() |
String |
getIPAddress()
IP Adress of the container if provided
|
Map<String,String> |
getLabels() |
String |
getName() |
String |
getNetworkMode() |
Map<String,Container.PortBinding> |
getPortBindings() |
boolean |
isRunning() |
long getCreated()
String getId()
String getImage()
String getName()
String getNetworkMode()
Map<String,Container.PortBinding> getPortBindings()
boolean isRunning()
String getIPAddress()
null
if not provided.Map<String,String> getCustomNetworkIpAddresses()
Integer getExitCode()
null
if it is still running. Also null,
if the implementation doesn't support an exit code.Copyright © 2021. All rights reserved.