(self, container_id)
return ""
Select a container directory for further operations
Select a container directory for further operations
Select a container directory for further operations
def cd_container(self, container_id):
        """Select a container directory for further operations"""
        container_dir = self.containersdir + '/' + str(container_id)
        if os.path.exists(container_dir):
            if container_dir in self.get_containers_list(True):
                return container_dir
        return ""
def cd_container ( self , container_id ) : container_dir = self . containersdir + '/' + str ( container_id ) if os . path . exists ( container_dir ) : if container_dir in self . get_containers_list ( True ) : return container_dir return ""