public class Docker extends Object
| Constructor and Description |
|---|
Docker(DockerExecutable rawExecutable) |
| Modifier and Type | Method and Description |
|---|---|
com.github.zafarkhaja.semver.Version |
configuredVersion() |
String |
listNetworks() |
String |
pruneNetworks() |
void |
rm(Collection<String> containerNames) |
void |
rm(String... containerNames) |
State |
state(String containerId) |
static com.github.zafarkhaja.semver.Version |
version() |
public Docker(DockerExecutable rawExecutable)
public static com.github.zafarkhaja.semver.Version version()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic com.github.zafarkhaja.semver.Version configuredVersion()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic State state(String containerId) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void rm(Collection<String> containerNames) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void rm(String... containerNames) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String listNetworks() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String pruneNetworks() throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2022 Pivotal Software, Inc.. All rights reserved.