public class ImageUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageUtils.ImageInfo |
| Constructor and Description |
|---|
ImageUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ImageUtils.ImageInfo |
inspectImage(com.github.dockerjava.api.DockerClient dc,
String imageName)
Util method to retrieve info for a given docker image.
|
static void |
pullImages(com.github.dockerjava.api.DockerClient dc,
int timeoutSeconds,
String... imageNames)
Util method to pull images if they don't exist to the local docker yet.
|
public static void pullImages(com.github.dockerjava.api.DockerClient dc,
int timeoutSeconds,
String... imageNames)
public static ImageUtils.ImageInfo inspectImage(com.github.dockerjava.api.DockerClient dc, String imageName)
Copyright © 2020–2022 Red Hat. All rights reserved.