code: def offload_service_containers(self, service):
          
          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)
docs: :param service:
          :return: