Class DockerCreateRequest

java.lang.Object
uk.ac.manchester.spinnaker.nmpi.rest.DockerCreateRequest

public class DockerCreateRequest
extends Object
A request to docker create.
  • Constructor Details

    • DockerCreateRequest

      public DockerCreateRequest​(String image, List<String> cmd)
      Parameters:
      image - The image to instantiate.
      cmd - The command to run (as list of arguments).
  • Method Details

    • getImage

      public String getImage()
      Returns:
      The image to instantiate.
    • setImage

      public void setImage​(String image)
      Parameters:
      image - the image to set
    • getCmd

      public List<String> getCmd()
      Returns:
      The command to run (as list of arguments).
    • setCmd

      public void setCmd​(List<String> cmd)
      Parameters:
      cmd - the cmd to set