Class RunCommand

java.lang.Object
cloud.localstack.docker.command.Command
cloud.localstack.docker.command.RunCommand

public class RunCommand
extends Command
  • Field Summary

    Fields inherited from class cloud.localstack.docker.command.Command

    dockerExe, options
  • Constructor Summary

    Constructors 
    Constructor Description
    RunCommand​(java.lang.String imageName)  
    RunCommand​(java.lang.String imageName, java.lang.String imageTag)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String execute()  
    RunCommand withBindMountedVolumes​(java.util.Map<java.lang.String,​java.lang.String> hostToContainerMappings)  
    RunCommand withEnvironmentVariable​(java.lang.String name, java.lang.String value)  
    RunCommand withEnvironmentVariables​(java.util.Map<java.lang.String,​java.lang.String> environmentVariables)  
    RunCommand withExposedPorts​(java.lang.String portsToExpose, boolean randomize)  

    Methods inherited from class cloud.localstack.docker.command.Command

    addOptions

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait