Package dev.snowdrop.buildpack.docker
Class ImageUtils
java.lang.Object
dev.snowdrop.buildpack.docker.ImageUtils
Higher level docker image api
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageUtils.ImageInfoinspectImage(com.github.dockerjava.api.DockerClient dc, String imageName) Util method to retrieve info for a given docker image.static voidpullImages(DockerConfig config, String... imageNames) Util method to pull images, configure behavior via dockerconfig.
-
Constructor Details
-
ImageUtils
public ImageUtils()
-
-
Method Details
-
pullImages
Util method to pull images, configure behavior via dockerconfig. -
inspectImage
public static ImageUtils.ImageInfo inspectImage(com.github.dockerjava.api.DockerClient dc, String imageName) Util method to retrieve info for a given docker image.
-