public class RunCommand extends Command
| Constructor and Description |
|---|
RunCommand(String imageName) |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
RunCommand |
withEnvironmentVariable(String name,
String value) |
RunCommand |
withExposedPorts(String portsToExpose) |
addOptionspublic RunCommand(String imageName)
public String execute()
public RunCommand withExposedPorts(String portsToExpose)
public RunCommand withEnvironmentVariable(String name, String value)
Copyright © 2017. All rights reserved.