com.github.dockerjava.api.command
Interface AttachContainerCmd
- All Superinterfaces:
- DockerCmd<InputStream>
- All Known Implementing Classes:
- AttachContainerCmdImpl
public interface AttachContainerCmd
- extends DockerCmd<InputStream>
Attach to container
getContainerId
String getContainerId()
hasLogsEnabled
boolean hasLogsEnabled()
hasFollowStreamEnabled
boolean hasFollowStreamEnabled()
hasTimestampsEnabled
boolean hasTimestampsEnabled()
hasStdoutEnabled
boolean hasStdoutEnabled()
hasStderrEnabled
boolean hasStderrEnabled()
withContainerId
AttachContainerCmd withContainerId(String containerId)
withFollowStream
AttachContainerCmd withFollowStream()
withFollowStream
AttachContainerCmd withFollowStream(boolean followStream)
withTimestamps
AttachContainerCmd withTimestamps(boolean timestamps)
withStdOut
AttachContainerCmd withStdOut()
withStdOut
AttachContainerCmd withStdOut(boolean stdout)
withStdErr
AttachContainerCmd withStdErr()
withStdErr
AttachContainerCmd withStdErr(boolean stderr)
withLogs
AttachContainerCmd withLogs(boolean logs)
exec
InputStream exec()
throws NotFoundException
- Specified by:
exec
in interface DockerCmd<InputStream>
- Throws:
NotFoundException
- No such container
Copyright © 2014. All Rights Reserved.