|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StartContainerCmd
Start a container
Nested Class Summary | |
---|---|
static interface |
StartContainerCmd.Exec
|
Method Detail |
---|
Bind[] getBinds()
Link[] getLinks()
LxcConf[] getLxcConf()
Ports getPortBindings()
boolean isPublishAllPorts()
boolean isPrivileged()
String[] getDns()
String[] getDnsSearch()
String getVolumesFrom()
String getContainerId()
String getNetworkMode()
Device[] getDevices()
RestartPolicy getRestartPolicy()
String[] getCapAdd()
String[] getCapDrop()
StartContainerCmd withBinds(Bind... binds)
StartContainerCmd withLinks(Link... links)
StartContainerCmd withLxcConf(LxcConf... lxcConf)
StartContainerCmd withPortBindings(Ports portBindings)
StartContainerCmd withPrivileged(boolean privileged)
StartContainerCmd withPublishAllPorts(boolean publishAllPorts)
StartContainerCmd withDns(String... dns)
StartContainerCmd withDnsSearch(String... dnsSearch)
StartContainerCmd withVolumesFrom(String volumesFrom)
StartContainerCmd withContainerId(String containerId)
StartContainerCmd withNetworkMode(String networkMode)
StartContainerCmd withDevices(Device... devices)
StartContainerCmd withRestartPolicy(RestartPolicy restartPolicy)
RestartPolicy
for the container. Defaults to
RestartPolicy.noRestart()
StartContainerCmd withCapAdd(String... capAdd)
StartContainerCmd withCapDrop(String... capDrop)
Void exec() throws NotFoundException, NotModifiedException
exec
in interface DockerCmd<Void>
NotFoundException
- No such container
NotModifiedException
- Container already started
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |