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 |
---|---|
CreateContainerCmd |
DockerClient.createContainerCmd(String image) |
Modifier and Type | Method and Description |
---|---|
CreateContainerCmd |
CreateContainerCmd.withAttachStderr(boolean attachStderr) |
CreateContainerCmd |
CreateContainerCmd.withAttachStdin(boolean attachStdin) |
CreateContainerCmd |
CreateContainerCmd.withAttachStdout(boolean attachStdout) |
CreateContainerCmd |
CreateContainerCmd.withBinds(Bind... binds) |
CreateContainerCmd |
CreateContainerCmd.withCapAdd(Capability... capAdd)
Add linux kernel capability to the
container.
|
CreateContainerCmd |
CreateContainerCmd.withCapDrop(Capability... capDrop)
Drop linux kernel capability from the
container.
|
CreateContainerCmd |
CreateContainerCmd.withCmd(String... cmd) |
CreateContainerCmd |
CreateContainerCmd.withCpuset(String cpuset) |
CreateContainerCmd |
CreateContainerCmd.withCpuShares(int cpuShares) |
CreateContainerCmd |
CreateContainerCmd.withDevices(Device... devices)
Add host devices to the container
|
CreateContainerCmd |
CreateContainerCmd.withDns(String... dns)
Set custom DNS servers
|
CreateContainerCmd |
CreateContainerCmd.withDnsSearch(String... dnsSearch)
Set custom DNS search domains
|
CreateContainerCmd |
CreateContainerCmd.withDomainName(String domainName) |
CreateContainerCmd |
CreateContainerCmd.withEntrypoint(String... entrypoint) |
CreateContainerCmd |
CreateContainerCmd.withEnv(String... env) |
CreateContainerCmd |
CreateContainerCmd.withExposedPorts(ExposedPort... exposedPorts) |
CreateContainerCmd |
CreateContainerCmd.withExtraHosts(String... extraHosts)
Add hostnames to /etc/hosts in the container
|
CreateContainerCmd |
CreateContainerCmd.withHostConfig(HostConfig hostConfig) |
CreateContainerCmd |
CreateContainerCmd.withHostName(String hostName) |
CreateContainerCmd |
CreateContainerCmd.withImage(String image) |
CreateContainerCmd |
CreateContainerCmd.withLinks(Link... links)
Add link to another container.
|
CreateContainerCmd |
CreateContainerCmd.withLxcConf(LxcConf... lxcConf) |
CreateContainerCmd |
CreateContainerCmd.withMacAddress(String macAddress) |
CreateContainerCmd |
CreateContainerCmd.withMemoryLimit(long memoryLimit) |
CreateContainerCmd |
CreateContainerCmd.withMemorySwap(long memorySwap) |
CreateContainerCmd |
CreateContainerCmd.withName(String name) |
CreateContainerCmd |
CreateContainerCmd.withNetworkDisabled(boolean disableNetwork) |
CreateContainerCmd |
CreateContainerCmd.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:
|
CreateContainerCmd |
CreateContainerCmd.withPortBindings(PortBinding... portBindings)
Add one or more
PortBinding s. |
CreateContainerCmd |
CreateContainerCmd.withPortBindings(Ports portBindings)
Add the port bindings that are contained in the given
Ports object. |
CreateContainerCmd |
CreateContainerCmd.withPortSpecs(String... portSpecs) |
CreateContainerCmd |
CreateContainerCmd.withPrivileged(boolean privileged) |
CreateContainerCmd |
CreateContainerCmd.withPublishAllPorts(boolean publishAllPorts) |
CreateContainerCmd |
CreateContainerCmd.withRestartPolicy(RestartPolicy restartPolicy)
Set custom
RestartPolicy for the container. |
CreateContainerCmd |
CreateContainerCmd.withStdInOnce(boolean stdInOnce) |
CreateContainerCmd |
CreateContainerCmd.withStdinOpen(boolean stdinOpen) |
CreateContainerCmd |
CreateContainerCmd.withTty(boolean tty) |
CreateContainerCmd |
CreateContainerCmd.withUser(String user) |
CreateContainerCmd |
CreateContainerCmd.withVolumes(Volume... volumes) |
CreateContainerCmd |
CreateContainerCmd.withVolumesFrom(VolumesFrom... volumesFrom) |
CreateContainerCmd |
CreateContainerCmd.withWorkingDir(String workingDir) |
Modifier and Type | Method and Description |
---|---|
CreateContainerCmd |
DockerClientImpl.createContainerCmd(String image) |
Modifier and Type | Class and Description |
---|---|
class |
CreateContainerCmdImpl
Creates a new container.
|
Modifier and Type | Method and Description |
---|---|
CreateContainerCmd |
CreateContainerCmdImpl.withBinds(Bind... binds) |
CreateContainerCmd |
CreateContainerCmdImpl.withCapAdd(Capability... capAdd) |
CreateContainerCmd |
CreateContainerCmdImpl.withCapDrop(Capability... capDrop) |
CreateContainerCmd |
CreateContainerCmdImpl.withDevices(Device... devices) |
CreateContainerCmd |
CreateContainerCmdImpl.withDnsSearch(String... dnsSearch) |
CreateContainerCmd |
CreateContainerCmdImpl.withExtraHosts(String... extraHosts) |
CreateContainerCmd |
CreateContainerCmdImpl.withHostConfig(HostConfig hostConfig) |
CreateContainerCmd |
CreateContainerCmdImpl.withLxcConf(LxcConf... lxcConf) |
CreateContainerCmd |
CreateContainerCmdImpl.withNetworkMode(String networkMode) |
CreateContainerCmd |
CreateContainerCmdImpl.withPortBindings(PortBinding... portBindings) |
CreateContainerCmd |
CreateContainerCmdImpl.withPortBindings(Ports portBindings) |
CreateContainerCmd |
CreateContainerCmdImpl.withPrivileged(boolean privileged) |
CreateContainerCmd |
CreateContainerCmdImpl.withPublishAllPorts(boolean publishAllPorts) |
CreateContainerCmd |
CreateContainerCmdImpl.withRestartPolicy(RestartPolicy restartPolicy) |
Modifier and Type | Method and Description |
---|---|
protected CreateContainerResponse |
CreateContainerCmdExec.execute(CreateContainerCmd command) |
Copyright © 2015. All Rights Reserved.