public interface ExecStartCmd extends SyncDockerCmd<InputStream>
Modifier and Type | Interface and Description |
---|---|
static interface |
ExecStartCmd.Exec |
Modifier and Type | Method and Description |
---|---|
InputStream |
exec()
Its the responsibility of the caller to consume and/or close the
InputStream to prevent connection leaks. |
String |
getExecId() |
boolean |
hasDetachEnabled() |
boolean |
hasTtyEnabled() |
ExecStartCmd |
withDetach() |
ExecStartCmd |
withDetach(boolean detach) |
ExecStartCmd |
withExecId(String execId) |
ExecStartCmd |
withTty() |
ExecStartCmd |
withTty(boolean tty) |
String getExecId()
ExecStartCmd withExecId(String execId)
boolean hasDetachEnabled()
ExecStartCmd withDetach(boolean detach)
ExecStartCmd withDetach()
boolean hasTtyEnabled()
ExecStartCmd withTty(boolean tty)
ExecStartCmd withTty()
InputStream exec() throws NotFoundException
InputStream
to prevent connection leaks.exec
in interface SyncDockerCmd<InputStream>
NotFoundException
- No such exec instanceCopyright © 2015. All Rights Reserved.