com.github.dockerjava.client.command
Class AttachContainerCmd
java.lang.Object
com.github.dockerjava.client.command.AbstrDockerCmd<AttachContainerCmd,com.sun.jersey.api.client.ClientResponse>
com.github.dockerjava.client.command.AttachContainerCmd
- All Implemented Interfaces:
- DockerCmd<com.sun.jersey.api.client.ClientResponse>
public class AttachContainerCmd
- extends AbstrDockerCmd<AttachContainerCmd,com.sun.jersey.api.client.ClientResponse>
Attach to container
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachContainerCmd
public AttachContainerCmd(String containerId)
withContainerId
public AttachContainerCmd withContainerId(String containerId)
withFollowStream
public AttachContainerCmd withFollowStream()
withFollowStream
public AttachContainerCmd withFollowStream(boolean followStream)
withTimestamps
public AttachContainerCmd withTimestamps(boolean timestamps)
withStdOut
public AttachContainerCmd withStdOut()
withStdOut
public AttachContainerCmd withStdOut(boolean stdout)
withStdErr
public AttachContainerCmd withStdErr()
withStdErr
public AttachContainerCmd withStdErr(boolean stderr)
withLogs
public AttachContainerCmd withLogs(boolean logs)
impl
protected com.sun.jersey.api.client.ClientResponse impl()
throws DockerException
- Throws:
DockerException
Copyright © 2014. All rights reserved.