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