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
IOException
InterruptedException
public com.github.zafarkhaja.semver.Version configuredVersion() throws IOException, InterruptedException
IOException
InterruptedException
public State state(String containerId) throws IOException, InterruptedException
IOException
InterruptedException
public void rm(Collection<String> containerNames) throws IOException, InterruptedException
IOException
InterruptedException
public void rm(String... containerNames) throws IOException, InterruptedException
IOException
InterruptedException
public String listNetworks() throws IOException, InterruptedException
IOException
InterruptedException
public String pruneNetworks() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.