Class DockerSupport


@Internal public final class DockerSupport extends Object
Provides utilities around Docker support.
  • Method Details

    • isDockerAvailable

      public static boolean isDockerAvailable()
      Returns true if the Docker client is available and ready to accept connections. It runs the check in a separate thread in order to avoid blocking the caller, and times out after 2s. If the client didn't answer after 2 seconds, we consider it's not available.
      true if Docker is available