private function executeCommandForImage($image, $command)
    {
        passthru(sprintf(
            self::DOCKER_COMMAND_FORMAT,
            escapeshellarg($image),
            intval($this->getColumns()),
            $command
        ));
    }