2 namespace Robo\Task\Docker;
5 * Starts Docker container
9 * $this->taskDockerStart($cidOrResult)
14 class Start extends Base
19 protected $command = "docker start";
27 * @param string|\Robo\Task\Docker\Result $cidOrResult
29 public function __construct($cidOrResult)
31 $this->cid = $cidOrResult instanceof Result ? $cidOrResult->getCid() : $cidOrResult;
37 public function getCommand()
39 return $this->command . ' ' . $this->arguments . ' ' . $this->cid;