def _destroy(self):
        if self._client:
            self._client.returnNr(self._nr)
            self._client.unregisterContainer(self)
            self._client = None

        if self._confDir:
            shutil.rmtree(self._confDir, True)
            self._confDir = None

        if self._dataDir:
            shutil.rmtree(self._dataDir, True)
            self._dataDir = None
Internally used method to clean up after the container has been
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/container.py/RCEContainer._destroy