Package | Description |
---|---|
com.github.dockerjava.api.command | |
com.github.dockerjava.api.model |
Modifier and Type | Method and Description |
---|---|
ExposedPort[] |
CreateContainerCmd.getExposedPorts() |
Modifier and Type | Method and Description |
---|---|
CreateContainerCmd |
CreateContainerCmd.withExposedPorts(ExposedPort... exposedPorts) |
Modifier and Type | Method and Description |
---|---|
CreateContainerCmd |
CreateContainerCmd.withExposedPorts(List<ExposedPort> exposedPorts) |
Modifier and Type | Method and Description |
---|---|
ExposedPort |
PortBinding.getExposedPort() |
ExposedPort[] |
ExposedPorts.getExposedPorts() |
ExposedPort[] |
ContainerConfig.getExposedPorts() |
static ExposedPort |
ExposedPort.parse(String serialized)
Parses a textual port specification (as used by the Docker CLI) to an
ExposedPort . |
static ExposedPort |
ExposedPort.sctp(int port)
Creates an
ExposedPort for InternetProtocol.SCTP . |
static ExposedPort |
ExposedPort.tcp(int port)
Creates an
ExposedPort for InternetProtocol.TCP . |
static ExposedPort |
ExposedPort.udp(int port)
Creates an
ExposedPort for InternetProtocol.UDP . |
Modifier and Type | Method and Description |
---|---|
Map<ExposedPort,Ports.Binding[]> |
Ports.getBindings()
Returns the port bindings in the format used by the Docker remote API, i.e.
|
Modifier and Type | Method and Description |
---|---|
void |
Ports.bind(ExposedPort exposedPort,
Ports.Binding binding)
|
Constructor and Description |
---|
ExposedPorts(ExposedPort... exposedPorts) |
PortBinding(Ports.Binding binding,
ExposedPort exposedPort) |
Ports(ExposedPort exposedPort,
Ports.Binding host)
|
Constructor and Description |
---|
ExposedPorts(List<ExposedPort> exposedPorts) |
Copyright © 2021. All rights reserved.