Class DockerExe

java.lang.Object
cloud.localstack.docker.DockerExe

public class DockerExe
extends java.lang.Object
A wrapper around the docker executable. The DOCKER_LOCATION environment variable can be used if docker is not installed in a default location.
  • Constructor Summary

    Constructors 
    Constructor Description
    DockerExe()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String execute​(java.util.List<java.lang.String> args)  
    java.lang.String execute​(java.util.List<java.lang.String> args, int waitTimeoutMinutes)  
    java.lang.String execute​(java.util.List<java.lang.String> args, int waitTimeoutMinutes, java.util.List<java.lang.Integer> errorCodes)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • execute

      public java.lang.String execute​(java.util.List<java.lang.String> args)
    • execute

      public java.lang.String execute​(java.util.List<java.lang.String> args, int waitTimeoutMinutes)
    • execute

      public java.lang.String execute​(java.util.List<java.lang.String> args, int waitTimeoutMinutes, java.util.List<java.lang.Integer> errorCodes)