Package | Description |
---|---|
com.github.dockerjava.api.command | |
com.github.dockerjava.api.model |
Modifier and Type | Method and Description |
---|---|
HostConfig |
InspectContainerResponse.getHostConfig() |
HostConfig |
CreateContainerCmd.getHostConfig() |
Modifier and Type | Method and Description |
---|---|
CreateContainerCmd |
CreateContainerCmd.withHostConfig(HostConfig hostConfig) |
Modifier and Type | Method and Description |
---|---|
static HostConfig |
HostConfig.newHostConfig() |
HostConfig |
HostConfig.withAutoRemove(java.lang.Boolean autoRemove) |
HostConfig |
HostConfig.withBinds(Bind... binds) |
HostConfig |
HostConfig.withBinds(Binds binds) |
HostConfig |
HostConfig.withBinds(java.util.List<Bind> binds) |
HostConfig |
HostConfig.withBlkioDeviceReadBps(java.util.List<BlkioRateDevice> blkioDeviceReadBps) |
HostConfig |
HostConfig.withBlkioDeviceReadIOps(java.util.List<BlkioRateDevice> blkioDeviceReadIOps) |
HostConfig |
HostConfig.withBlkioDeviceWriteBps(java.util.List<BlkioRateDevice> blkioDeviceWriteBps) |
HostConfig |
HostConfig.withBlkioDeviceWriteIOps(java.util.List<BlkioRateDevice> blkioDeviceWriteIOps) |
HostConfig |
HostConfig.withBlkioWeight(java.lang.Integer blkioWeight) |
HostConfig |
HostConfig.withBlkioWeightDevice(java.util.List<BlkioWeightDevice> blkioWeightDevice) |
HostConfig |
HostConfig.withCapAdd(Capability... capAdd) |
HostConfig |
HostConfig.withCapDrop(Capability... capDrop) |
HostConfig |
HostConfig.withCgroup(java.lang.String cgroup) |
HostConfig |
HostConfig.withCgroupParent(java.lang.String cgroupParent) |
HostConfig |
HostConfig.withConsoleSize(java.util.List<java.lang.Integer> consoleSize) |
HostConfig |
HostConfig.withContainerIDFile(java.lang.String containerIDFile) |
HostConfig |
HostConfig.withCpuCount(java.lang.Long cpuCount) |
HostConfig |
HostConfig.withCpuPercent(java.lang.Long cpuPercent) |
HostConfig |
HostConfig.withCpuPeriod(java.lang.Long cpuPeriod) |
HostConfig |
HostConfig.withCpuQuota(java.lang.Long cpuQuota) |
HostConfig |
HostConfig.withCpuRealtimePeriod(java.lang.Long cpuRealtimePeriod) |
HostConfig |
HostConfig.withCpuRealtimeRuntime(java.lang.Long cpuRealtimeRuntime) |
HostConfig |
HostConfig.withCpusetCpus(java.lang.String cpusetCpus) |
HostConfig |
HostConfig.withCpusetMems(java.lang.String cpusetMems) |
HostConfig |
HostConfig.withCpuShares(java.lang.Integer cpuShares) |
HostConfig |
HostConfig.withDeviceCgroupRules(java.util.List<java.lang.String> deviceCgroupRules) |
HostConfig |
HostConfig.withDevices(Device... devices) |
HostConfig |
HostConfig.withDevices(java.util.List<Device> devices) |
HostConfig |
HostConfig.withDiskQuota(java.lang.Long diskQuota) |
HostConfig |
HostConfig.withDns(java.util.List<java.lang.String> dns) |
HostConfig |
HostConfig.withDns(java.lang.String... dns) |
HostConfig |
HostConfig.withDnsOptions(java.util.List<java.lang.String> dnsOptions) |
HostConfig |
HostConfig.withDnsSearch(java.util.List<java.lang.String> dnsSearch) |
HostConfig |
HostConfig.withDnsSearch(java.lang.String... dnsSearch) |
HostConfig |
HostConfig.withExtraHosts(java.lang.String... extraHosts) |
HostConfig |
HostConfig.withGroupAdd(java.util.List<java.lang.String> groupAdd) |
HostConfig |
HostConfig.withInit(java.lang.Boolean init) |
HostConfig |
HostConfig.withIoMaximumBandwidth(java.lang.Long ioMaximumBandwidth) |
HostConfig |
HostConfig.withIoMaximumIOps(java.lang.Long ioMaximumIOps) |
HostConfig |
HostConfig.withIpcMode(java.lang.String ipcMode) |
HostConfig |
HostConfig.withIsolation(Isolation isolation) |
HostConfig |
HostConfig.withKernelMemory(java.lang.Long kernelMemory) |
HostConfig |
HostConfig.withLinks(Link... links) |
HostConfig |
HostConfig.withLinks(Links links) |
HostConfig |
HostConfig.withLinks(java.util.List<Link> links) |
HostConfig |
HostConfig.withLogConfig(LogConfig logConfig) |
HostConfig |
HostConfig.withLxcConf(LxcConf[] lxcConf) |
HostConfig |
HostConfig.withMemory(java.lang.Long memory) |
HostConfig |
HostConfig.withMemoryReservation(java.lang.Long memoryReservation) |
HostConfig |
HostConfig.withMemorySwap(java.lang.Long memorySwap) |
HostConfig |
HostConfig.withMemorySwappiness(java.lang.Long memorySwappiness) |
HostConfig |
HostConfig.withMounts(java.util.List<Mount> mounts) |
HostConfig |
HostConfig.withNanoCPUs(java.lang.Long nanoCPUs) |
HostConfig |
HostConfig.withNetworkMode(java.lang.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:
|
HostConfig |
HostConfig.withOomKillDisable(java.lang.Boolean oomKillDisable) |
HostConfig |
HostConfig.withOomScoreAdj(java.lang.Integer oomScoreAdj) |
HostConfig |
HostConfig.withPidMode(java.lang.String pidMode)
Set the PID (Process) Namespace mode for the container, 'host': use the host's PID namespace inside the container
|
HostConfig |
HostConfig.withPidsLimit(java.lang.Long pidsLimit) |
HostConfig |
HostConfig.withPortBindings(java.util.List<PortBinding> portBindings) |
HostConfig |
HostConfig.withPortBindings(PortBinding... portBindings) |
HostConfig |
HostConfig.withPortBindings(Ports portBindings)
Add one or more
PortBinding s. |
HostConfig |
HostConfig.withPrivileged(java.lang.Boolean privileged) |
HostConfig |
HostConfig.withPublishAllPorts(java.lang.Boolean publishAllPorts) |
HostConfig |
HostConfig.withReadonlyRootfs(java.lang.Boolean readonlyRootfs) |
HostConfig |
HostConfig.withRestartPolicy(RestartPolicy restartPolicy)
Set custom
RestartPolicy for the container. |
HostConfig |
HostConfig.withRuntime(java.lang.String runtime) |
HostConfig |
HostConfig.withSecurityOpts(java.util.List<java.lang.String> securityOpts) |
HostConfig |
HostConfig.withShmSize(java.lang.Long shmSize) |
HostConfig |
HostConfig.withStorageOpt(java.util.Map<java.lang.String,java.lang.String> storageOpt) |
HostConfig |
HostConfig.withSysctls(java.util.Map<java.lang.String,java.lang.String> sysctls) |
HostConfig |
HostConfig.withTmpFs(java.util.Map<java.lang.String,java.lang.String> tmpFs) |
HostConfig |
HostConfig.withUlimits(java.util.List<Ulimit> ulimits) |
HostConfig |
HostConfig.withUlimits(Ulimit[] ulimits) |
HostConfig |
HostConfig.withUsernsMode(java.lang.String usernsMode) |
HostConfig |
HostConfig.withUtSMode(java.lang.String utSMode) |
HostConfig |
HostConfig.withVolumeDriver(java.lang.String volumeDriver) |
HostConfig |
HostConfig.withVolumesFrom(java.util.List<VolumesFrom> volumesFrom) |
HostConfig |
HostConfig.withVolumesFrom(VolumesFrom... volumesFrom) |
Copyright © 2020. All Rights Reserved.