| Modifier and Type | Method and Description |
|---|---|
Image |
inspect(ImageReference reference)
Inspect an image.
|
void |
load(ImageArchive archive,
UpdateListener<LoadImageUpdateEvent> listener)
Load an
ImageArchive into Docker. |
Image |
pull(ImageReference reference,
UpdateListener<PullImageUpdateEvent> listener)
Pull an image from a registry.
|
void |
remove(ImageReference reference,
boolean force)
Remove a specific image.
|
public Image pull(ImageReference reference, UpdateListener<PullImageUpdateEvent> listener) throws IOException
reference - the image reference to pulllistener - a pull listener to receive update eventspulled image instanceIOException - on IO errorpublic void load(ImageArchive archive, UpdateListener<LoadImageUpdateEvent> listener) throws IOException
ImageArchive into Docker.archive - the archive to loadlistener - a pull listener to receive update eventsIOException - on IO errorpublic void remove(ImageReference reference, boolean force) throws IOException
reference - the reference the removeforce - if removal should be forcedIOException - on IO errorpublic Image inspect(ImageReference reference) throws IOException
reference - the image referenceIOException - on IO error