com.github.dockerjava.client.command
Class StartContainerCmd
java.lang.Object
com.github.dockerjava.client.command.AbstrDockerCmd<StartContainerCmd,Void>
com.github.dockerjava.client.command.StartContainerCmd
- All Implemented Interfaces:
- DockerCmd<Void>
public class StartContainerCmd
- extends AbstrDockerCmd<StartContainerCmd,Void>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartContainerCmd
public StartContainerCmd(String containerId)
withBinds
public StartContainerCmd withBinds(Bind... binds)
withLxcConf
public StartContainerCmd withLxcConf(LxcConf[] lxcConf)
withPortBindings
public StartContainerCmd withPortBindings(Ports portBindings)
withPrivileged
public StartContainerCmd withPrivileged(boolean privileged)
withPublishAllPorts
public StartContainerCmd withPublishAllPorts(boolean publishAllPorts)
withDns
public StartContainerCmd withDns(String dns)
withVolumesFrom
public StartContainerCmd withVolumesFrom(String volumesFrom)
withContainerId
public StartContainerCmd withContainerId(String containerId)
impl
protected Void impl()
throws DockerException
- Throws:
DockerException
Copyright © 2014. All rights reserved.