public interface DockerCompose
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
String |
config() |
void |
down() |
String |
exec(DockerComposeExecOption dockerComposeExecOption,
String containerName,
DockerComposeExecArgument dockerComposeExecArgument) |
Optional<String> |
id(Container container) |
void |
kill() |
void |
kill(Container container) |
Ports |
ports(String service) |
List<ContainerName> |
ps() |
void |
pull() |
void |
rm() |
String |
run(DockerComposeRunOption dockerComposeRunOption,
String containerName,
DockerComposeRunArgument dockerComposeRunArgument) |
List<String> |
services() |
void |
start(Container container) |
void |
stop(Container container) |
void |
up() |
void |
up(Container container) |
static com.github.zafarkhaja.semver.Version |
version() |
boolean |
writeLogs(String container,
OutputStream output) |
static com.github.zafarkhaja.semver.Version version()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionvoid pull() throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid build()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionvoid up() throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid down() throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid kill() throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid rm() throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid up(Container container) throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid start(Container container) throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid stop(Container container) throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid kill(Container container) throws IOException, InterruptedException
IOExceptionInterruptedExceptionString exec(DockerComposeExecOption dockerComposeExecOption, String containerName, DockerComposeExecArgument dockerComposeExecArgument) throws IOException, InterruptedException
IOExceptionInterruptedExceptionString run(DockerComposeRunOption dockerComposeRunOption, String containerName, DockerComposeRunArgument dockerComposeRunArgument) throws IOException, InterruptedException
IOExceptionInterruptedExceptionList<ContainerName> ps() throws IOException, InterruptedException
IOExceptionInterruptedExceptionOptional<String> id(Container container) throws IOException, InterruptedException
IOExceptionInterruptedExceptionString config() throws IOException, InterruptedException
IOExceptionInterruptedExceptionList<String> services() throws IOException, InterruptedException
IOExceptionInterruptedExceptionboolean writeLogs(String container, OutputStream output) throws IOException
IOExceptionPorts ports(String service) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2022 Pivotal Software, Inc.. All rights reserved.