com.github.dockerjava.client.command
Class StartContainerCmd

java.lang.Object
  extended by com.github.dockerjava.client.command.AbstrDockerCmd<StartContainerCmd,Void>
      extended by com.github.dockerjava.client.command.StartContainerCmd
All Implemented Interfaces:
DockerCmd<Void>

public class StartContainerCmd
extends AbstrDockerCmd<StartContainerCmd,Void>


Field Summary
 
Fields inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
baseResource
 
Constructor Summary
StartContainerCmd(String containerId)
           
 
Method Summary
protected  Void impl()
           
 StartContainerCmd withBinds(Bind... binds)
           
 StartContainerCmd withContainerId(String containerId)
           
 StartContainerCmd withDns(String dns)
           
 StartContainerCmd withLxcConf(LxcConf[] lxcConf)
           
 StartContainerCmd withPortBindings(Ports portBindings)
           
 StartContainerCmd withPrivileged(boolean privileged)
           
 StartContainerCmd withPublishAllPorts(boolean publishAllPorts)
           
 StartContainerCmd withVolumesFrom(String volumesFrom)
           
 
Methods inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
exec, withBaseResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartContainerCmd

public StartContainerCmd(String containerId)
Method Detail

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.