def get_service_name(self, service_id: str) -> str:
        """Get the name of the docker service.

        Only the manager nodes can retrieve service name

        Args:
            service_id (string): List of service ID

        Returns:
            string, name of the docker service

        """
        # Raise an exception if we are not a manager
        if not self._manager:
            raise RuntimeError('Only the Swarm manager node can retrieve all'
                               ' the services details.')

        service = self._client.services.get(service_id)
        return service.name