Package | Description |
---|---|
com.github.dockerjava.api | |
com.github.dockerjava.api.command | |
com.github.dockerjava.core | |
com.github.dockerjava.core.command | |
com.github.dockerjava.jaxrs |
Modifier and Type | Method and Description |
---|---|
StartContainerCmd |
DockerClient.startContainerCmd(String containerId)
Creates a new
StartContainerCmd for the container with the
given ID. |
Modifier and Type | Method and Description |
---|---|
StartContainerCmd |
StartContainerCmd.withBinds(Bind... binds) |
StartContainerCmd |
StartContainerCmd.withCapAdd(Capability... capAdd)
Add linux kernel
capability to the container.
|
StartContainerCmd |
StartContainerCmd.withCapDrop(Capability... capDrop)
Drop linux kernel
capability from the container.
|
StartContainerCmd |
StartContainerCmd.withContainerId(String containerId) |
StartContainerCmd |
StartContainerCmd.withDevices(Device... devices)
Add host devices to the container
|
StartContainerCmd |
StartContainerCmd.withDns(String... dns)
Set custom DNS servers
|
StartContainerCmd |
StartContainerCmd.withDnsSearch(String... dnsSearch)
Set custom DNS search domains
|
StartContainerCmd |
StartContainerCmd.withLinks(Link... links)
Add link to another container.
|
StartContainerCmd |
StartContainerCmd.withLxcConf(LxcConf... lxcConf) |
StartContainerCmd |
StartContainerCmd.withNetworkMode(String networkMode)
Set the Network mode for the container
'bridge': creates a new network stack for the container on the docker
bridge
'none': no networking for this container
'container:
|
StartContainerCmd |
StartContainerCmd.withPortBindings(PortBinding... portBindings)
Add one or more
PortBinding s. |
StartContainerCmd |
StartContainerCmd.withPortBindings(Ports portBindings)
Add the port bindings that are contained in the given
Ports
object. |
StartContainerCmd |
StartContainerCmd.withPrivileged(Boolean privileged) |
StartContainerCmd |
StartContainerCmd.withPublishAllPorts(Boolean publishAllPorts) |
StartContainerCmd |
StartContainerCmd.withRestartPolicy(RestartPolicy restartPolicy)
Set custom
RestartPolicy for the container. |
StartContainerCmd |
StartContainerCmd.withVolumesFrom(String volumesFrom) |
Modifier and Type | Method and Description |
---|---|
StartContainerCmd |
DockerClientImpl.startContainerCmd(String containerId) |
Modifier and Type | Class and Description |
---|---|
class |
StartContainerCmdImpl
Start a container
|
Modifier and Type | Method and Description |
---|---|
StartContainerCmd |
StartContainerCmdImpl.withBinds(Bind... binds) |
StartContainerCmd |
StartContainerCmdImpl.withCapAdd(Capability... capAdd) |
StartContainerCmd |
StartContainerCmdImpl.withCapDrop(Capability... capDrop) |
StartContainerCmd |
StartContainerCmdImpl.withContainerId(String containerId) |
StartContainerCmd |
StartContainerCmdImpl.withDevices(Device... devices) |
StartContainerCmd |
StartContainerCmdImpl.withDns(String... dns) |
StartContainerCmd |
StartContainerCmdImpl.withDnsSearch(String... dnsSearch) |
StartContainerCmd |
StartContainerCmdImpl.withLinks(Link... links) |
StartContainerCmd |
StartContainerCmdImpl.withLxcConf(LxcConf... lxcConf) |
StartContainerCmd |
StartContainerCmdImpl.withNetworkMode(String networkMode) |
StartContainerCmd |
StartContainerCmdImpl.withPortBindings(PortBinding... portBindings) |
StartContainerCmd |
StartContainerCmdImpl.withPortBindings(Ports portBindings) |
StartContainerCmd |
StartContainerCmdImpl.withPrivileged(Boolean privileged) |
StartContainerCmd |
StartContainerCmdImpl.withPublishAllPorts(Boolean publishAllPorts) |
StartContainerCmd |
StartContainerCmdImpl.withRestartPolicy(RestartPolicy restartPolicy) |
StartContainerCmd |
StartContainerCmdImpl.withVolumesFrom(String volumesFrom) |
Modifier and Type | Method and Description |
---|---|
protected Void |
StartContainerCmdExec.execute(StartContainerCmd command) |
Copyright © 2015. All Rights Reserved.