Package org.jclouds.docker.domain
Class HostConfig.Builder
- java.lang.Object
-
- org.jclouds.docker.domain.HostConfig.Builder
-
- Enclosing class:
- HostConfig
public static final class HostConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
containerIDFile
public HostConfig.Builder containerIDFile(String containerIDFile)
-
binds
public HostConfig.Builder binds(List<String> binds)
-
lxcConf
public HostConfig.Builder lxcConf(List<Map<String,String>> lxcConf)
-
privileged
public HostConfig.Builder privileged(boolean privileged)
-
dns
public HostConfig.Builder dns(List<String> dns)
-
dnsSearch
public HostConfig.Builder dnsSearch(List<String> dnsSearch)
-
links
public HostConfig.Builder links(List<String> links)
-
extraHosts
public HostConfig.Builder extraHosts(List<String> extraHosts)
-
portBindings
public HostConfig.Builder portBindings(Map<String,List<Map<String,String>>> portBindings)
-
publishAllPorts
public HostConfig.Builder publishAllPorts(boolean publishAllPorts)
-
volumesFrom
public HostConfig.Builder volumesFrom(List<String> volumesFrom)
-
networkMode
public HostConfig.Builder networkMode(String networkMode)
-
securityOpt
public HostConfig.Builder securityOpt(List<String> securityOpt)
-
capAdd
public HostConfig.Builder capAdd(List<String> capAdd)
-
capDrop
public HostConfig.Builder capDrop(List<String> capDrop)
-
restartPolicy
public HostConfig.Builder restartPolicy(Map<String,String> restartPolicy)
-
build
public HostConfig build()
-
fromHostConfig
public HostConfig.Builder fromHostConfig(HostConfig in)
-
-