public function getHostPorts()
    {
        $ports = [];
        $service = $this->getService();

        foreach ($service->getPorts() as $port) {
            list($host,) = explode(':', $port);
            $ports[] = $host;
        }

        return $ports;
    }