:param service:
        :return:

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

        if service.containers:
            for key in list(service.containers.keys()):
                if key in service.containers:
                    del service.containers[key]