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