Package | Description |
---|---|
com.github.dockerjava.api.model |
Modifier and Type | Method and Description |
---|---|
static Ports.Binding |
Ports.Binding(Integer hostPort)
Creates a
Ports.Binding for the given port number, leaving the IP address undefined. |
static Ports.Binding |
Ports.Binding(String hostIp,
Integer hostPort)
Creates a
Ports.Binding for the given IP address and port number. |
Ports.Binding |
PortBinding.getBinding() |
static Ports.Binding |
Ports.Binding.parse(String serialized)
Parses a textual host and port specification (as used by the Docker CLI) to a
Ports.Binding . |
Modifier and Type | Method and Description |
---|---|
void |
Ports.bind(ExposedPort exposedPort,
Ports.Binding binding)
|
Constructor and Description |
---|
PortBinding(Ports.Binding binding,
ExposedPort exposedPort) |
Ports(ExposedPort exposedPort,
Ports.Binding host)
|
Copyright © 2015. All Rights Reserved.