code: def _stop_ubridge_capture(self, adapter_number):
          
  
          adapter = "bridge{}".format(adapter_number)
          if not self.ubridge:
              raise DockerError("Cannot stop the packet capture: uBridge is not running")
          yield from self._ubridge_send("bridge stop_capture {name}".format(name=adapter))
docs: Stop a packet capture in uBridge.
  
          :param adapter_number: adapter number