code: def terminate(self, container):
          
          self._client_chk.check(container)
          args = {
              'container': int(container),
          }
          response = self._client.raw('corex.terminate', args)
  
          result = response.get()
          if result.state != 'SUCCESS':
              raise RuntimeError('failed to terminate container: %s' % result.data)
docs: Terminate a container given it's id
  
          :param container: container id
          :return: