:param service:
        :return:

def offload_service_containers(self, service):
        """
        :param service:
        :return:
        """
        def anonymous(anonymous_service):
            if not isinstance(anonymous_service, Service):
                raise TypeError("service must be an instance of Service.")

            if anonymous_service.containers:
                logger.info("Deleting service: {0} containers.".format(anonymous_service.name))
                for container_name in list(anonymous_service.containers.keys()):
                    del anonymous_service.containers[container_name]

        self._service_map(service, anonymous, descending=True)