public class DockerClient
extends java.lang.Object
docker CLI.| Constructor and Description |
|---|
DockerClient() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDockerInstalled() |
java.lang.String |
load(Blob imageTarballBlob)
Loads an image tarball into the Docker daemon.
|
public boolean isDockerInstalled()
true if Docker is installed on the user's system and accessible as dockerpublic java.lang.String load(Blob imageTarballBlob) throws java.lang.InterruptedException, java.io.IOException
imageTarballBlob - the built container tarball.docker.java.lang.InterruptedException - if the 'docker load' process is interrupted.java.io.IOException - if streaming the blob to 'docker load' fails.