(self, clone_file)
return self.container_id
Create a cloned container tar file containing both the rootfs
        and all udocker control files. This is udocker specific.
Create a cloned container tar file containing both the rootfs
        and all udocker control files. This is udocker specific.
Create a cloned container tar file containing both the rootfs and all udocker control files . This is udocker specific .
def clone_tofile(self, clone_file):
        """Create a cloned container tar file containing both the rootfs
        and all udocker control files. This is udocker specific.
        """
        container_dir = self.localrepo.cd_container(self.container_id)
        if not container_dir:
            Msg().err("Error: container not found:", self.container_id)
            return False

        status = FileUtil(container_dir).tar(clone_file)
        if not status:
            Msg().err("Error: export container as clone:", self.container_id)

        return self.container_id
def clone_tofile ( self , clone_file ) : container_dir = self . localrepo . cd_container ( self . container_id ) if not container_dir : Msg ( ) . err ( "Error: container not found:" , self . container_id ) return False status = FileUtil ( container_dir ) . tar ( clone_file ) if not status : Msg ( ) . err ( "Error: export container as clone:" , self . container_id ) return self . container_id