public static final class HostConfig.Builder extends Object
Constructor and Description |
---|
HostConfig.Builder() |
Modifier and Type | Method and Description |
---|---|
HostConfig.Builder |
binds(List<String> binds) |
HostConfig |
build() |
HostConfig.Builder |
capAdd(List<String> capAdd) |
HostConfig.Builder |
capDrop(List<String> capDrop) |
HostConfig.Builder |
containerIDFile(String containerIDFile) |
HostConfig.Builder |
dns(List<String> dns) |
HostConfig.Builder |
dnsSearch(List<String> dnsSearch) |
HostConfig.Builder |
extraHosts(List<String> extraHosts) |
HostConfig.Builder |
fromHostConfig(HostConfig in) |
HostConfig.Builder |
links(List<String> links) |
HostConfig.Builder |
lxcConf(List<Map<String,String>> lxcConf) |
HostConfig.Builder |
networkMode(String networkMode) |
HostConfig.Builder |
portBindings(Map<String,List<Map<String,String>>> portBindings) |
HostConfig.Builder |
privileged(boolean privileged) |
HostConfig.Builder |
publishAllPorts(boolean publishAllPorts) |
HostConfig.Builder |
restartPolicy(Map<String,String> restartPolicy) |
HostConfig.Builder |
securityOpt(List<String> securityOpt) |
HostConfig.Builder |
volumesFrom(List<String> volumesFrom) |
public HostConfig.Builder containerIDFile(String containerIDFile)
public HostConfig.Builder binds(List<String> binds)
public HostConfig.Builder lxcConf(List<Map<String,String>> lxcConf)
public HostConfig.Builder privileged(boolean privileged)
public HostConfig.Builder dns(List<String> dns)
public HostConfig.Builder dnsSearch(List<String> dnsSearch)
public HostConfig.Builder links(List<String> links)
public HostConfig.Builder extraHosts(List<String> extraHosts)
public HostConfig.Builder portBindings(Map<String,List<Map<String,String>>> portBindings)
public HostConfig.Builder publishAllPorts(boolean publishAllPorts)
public HostConfig.Builder volumesFrom(List<String> volumesFrom)
public HostConfig.Builder networkMode(String networkMode)
public HostConfig.Builder securityOpt(List<String> securityOpt)
public HostConfig.Builder capAdd(List<String> capAdd)
public HostConfig.Builder capDrop(List<String> capDrop)
public HostConfig.Builder restartPolicy(Map<String,String> restartPolicy)
public HostConfig build()
public HostConfig.Builder fromHostConfig(HostConfig in)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.