Package jline.io
Class DockerImage
java.lang.Object
jline.io.DockerImage
Docker primitives shared by the backends that legitimately ship an image: the
JMT backend (
imperialqore/jmt-rest) and the Sage symbolic engine
(imperialqore/line-sage-rest). Each owns its image name; this class
only answers whether the daemon is up, whether an image is present, whether
there is room to pull it, and performs the pull.
LQNS, lqsim and qnsolver are deliberately absent: their licence is an
evaluation agreement that forbids redistribution, so LINE runs them only from
a binary the user installed. run-tests.sh --lqns-docker puts a shim on
the PATH when a containerised build is what should be exercised.
Every method is a no-op / returns empty on Windows.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanTrue if the Docker daemon is reachable (unix only).static booleanhasLocalImage(String image) True if the named image is already present in the local Docker store.static booleanhasStorageFor(String image) True if the Docker storage location has room forimage.static booleanPull an image, streaming Docker's progress to stdout/stderr.
-
Method Details
-
daemonAvailable
public static boolean daemonAvailable()True if the Docker daemon is reachable (unix only). -
hasLocalImage
True if the named image is already present in the local Docker store. -
pull
Pull an image, streaming Docker's progress to stdout/stderr. No timeout. -
hasStorageFor
True if the Docker storage location has room forimage.
-