Package | Description |
---|---|
com.github.dockerjava.api | |
com.github.dockerjava.api.command |
Modifier and Type | Method and Description |
---|---|
CreateContainerCmd |
DockerClient.createContainerCmd(java.lang.String image) |
Modifier and Type | Method and Description |
---|---|
CreateContainerCmd |
CreateContainerCmd.withAliases(java.util.List<java.lang.String> aliases)
Add network-scoped alias for the container
|
CreateContainerCmd |
CreateContainerCmd.withAliases(java.lang.String... aliases)
Add network-scoped alias for the container
|
CreateContainerCmd |
CreateContainerCmd.withArgsEscaped(java.lang.Boolean argsEscaped) |
CreateContainerCmd |
CreateContainerCmd.withAttachStderr(java.lang.Boolean attachStderr) |
CreateContainerCmd |
CreateContainerCmd.withAttachStdin(java.lang.Boolean attachStdin) |
CreateContainerCmd |
CreateContainerCmd.withAttachStdout(java.lang.Boolean attachStdout) |
CreateContainerCmd |
CreateContainerCmd.withAuthConfig(AuthConfig authConfig)
While using swarm classic, you can provide an optional auth config which will be used to pull images from a private registry,
if the swarm node does not already have the docker image.
|
default CreateContainerCmd |
CreateContainerCmd.withBinds(Bind... binds)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withBinds(java.util.List<Bind> binds)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withBlkioWeight(java.lang.Integer blkioWeight)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withCapAdd(Capability... capAdd)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withCapAdd(java.util.List<Capability> capAdd)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withCapDrop(Capability... capDrop)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withCapDrop(java.util.List<Capability> capDrop)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withCgroupParent(java.lang.String cgroupParent)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withCmd(java.util.List<java.lang.String> cmd) |
CreateContainerCmd |
CreateContainerCmd.withCmd(java.lang.String... cmd) |
default CreateContainerCmd |
CreateContainerCmd.withContainerIDFile(java.lang.String containerIDFile)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withCpuPeriod(java.lang.Integer cpuPeriod)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withCpusetCpus(java.lang.String cpusetCpus)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withCpusetMems(java.lang.String cpusetMems)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withCpuShares(java.lang.Integer cpuShares)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withDevices(Device... devices)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withDevices(java.util.List<Device> devices)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withDns(java.util.List<java.lang.String> dns)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withDns(java.lang.String... dns)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withDnsSearch(java.util.List<java.lang.String> dnsSearch)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withDnsSearch(java.lang.String... dnsSearch)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withDomainName(java.lang.String domainName) |
CreateContainerCmd |
CreateContainerCmd.withEntrypoint(java.util.List<java.lang.String> entrypoint) |
CreateContainerCmd |
CreateContainerCmd.withEntrypoint(java.lang.String... entrypoint) |
CreateContainerCmd |
CreateContainerCmd.withEnv(java.util.List<java.lang.String> env)
Adds environment-variables.
|
CreateContainerCmd |
CreateContainerCmd.withEnv(java.lang.String... env)
Adds environment-variables.
|
CreateContainerCmd |
CreateContainerCmd.withExposedPorts(ExposedPort... exposedPorts) |
CreateContainerCmd |
CreateContainerCmd.withExposedPorts(java.util.List<ExposedPort> exposedPorts) |
default CreateContainerCmd |
CreateContainerCmd.withExtraHosts(java.util.List<java.lang.String> extraHosts)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withExtraHosts(java.lang.String... extraHosts)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withHealthcheck(HealthCheck healthCheck) |
CreateContainerCmd |
CreateContainerCmd.withHostConfig(HostConfig hostConfig) |
CreateContainerCmd |
CreateContainerCmd.withHostName(java.lang.String hostName) |
CreateContainerCmd |
CreateContainerCmd.withImage(java.lang.String image) |
CreateContainerCmd |
CreateContainerCmd.withIpv4Address(java.lang.String ipv4Address) |
CreateContainerCmd |
CreateContainerCmd.withIpv6Address(java.lang.String ipv6Address) |
CreateContainerCmd |
CreateContainerCmd.withLabels(java.util.Map<java.lang.String,java.lang.String> labels) |
default CreateContainerCmd |
CreateContainerCmd.withLinks(Link... links)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withLinks(java.util.List<Link> links)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withLogConfig(LogConfig logConfig)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withLxcConf(java.util.List<LxcConf> lxcConf)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withLxcConf(LxcConf... lxcConf)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withMacAddress(java.lang.String macAddress) |
default CreateContainerCmd |
CreateContainerCmd.withMemory(java.lang.Long memory)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withMemorySwap(java.lang.Long memorySwap)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withName(java.lang.String name) |
CreateContainerCmd |
CreateContainerCmd.withNetworkDisabled(java.lang.Boolean disableNetwork) |
default CreateContainerCmd |
CreateContainerCmd.withNetworkMode(java.lang.String networkMode)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withOnBuild(java.util.List<java.lang.String> onBuild) |
default CreateContainerCmd |
CreateContainerCmd.withOomKillDisable(java.lang.Boolean oomKillDisable)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withPidMode(java.lang.String pidMode)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withPortBindings(java.util.List<PortBinding> portBindings)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withPortBindings(PortBinding... portBindings)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withPortBindings(Ports portBindings)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withPortSpecs(java.util.List<java.lang.String> portSpecs) |
CreateContainerCmd |
CreateContainerCmd.withPortSpecs(java.lang.String... portSpecs) |
default CreateContainerCmd |
CreateContainerCmd.withPrivileged(java.lang.Boolean privileged)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withPublishAllPorts(java.lang.Boolean publishAllPorts)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withReadonlyRootfs(java.lang.Boolean readonlyRootfs)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withRestartPolicy(RestartPolicy restartPolicy)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withStdInOnce(java.lang.Boolean stdInOnce) |
CreateContainerCmd |
CreateContainerCmd.withStdinOpen(java.lang.Boolean stdinOpen) |
CreateContainerCmd |
CreateContainerCmd.withStopSignal(java.lang.String stopSignal) |
CreateContainerCmd |
CreateContainerCmd.withStopTimeout(java.lang.Integer stopTimeout) |
CreateContainerCmd |
CreateContainerCmd.withTty(java.lang.Boolean tty) |
default CreateContainerCmd |
CreateContainerCmd.withUlimits(java.util.List<Ulimit> ulimits)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withUlimits(Ulimit... ulimits)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withUser(java.lang.String user) |
CreateContainerCmd |
CreateContainerCmd.withVolumes(java.util.List<Volume> volumes) |
CreateContainerCmd |
CreateContainerCmd.withVolumes(Volume... volumes) |
default CreateContainerCmd |
CreateContainerCmd.withVolumesFrom(java.util.List<VolumesFrom> volumesFrom)
Deprecated.
|
default CreateContainerCmd |
CreateContainerCmd.withVolumesFrom(VolumesFrom... volumesFrom)
Deprecated.
|
CreateContainerCmd |
CreateContainerCmd.withWorkingDir(java.lang.String workingDir) |
Copyright © 2020. All Rights Reserved.