In other words install then run an app in a Firejail. When you close it, it is uninstalled? Sandboxie on Windows was great for this.
I think you technically can, but it is strongly advised against as using virtual machines are a far safer/secure method. There is an issue here somewhere that has more detail.
If you really want to:
firejail with an overlay: sudo firejail --name=tmpinst --overlay-tmpfssudo firejail --put=tmpinst /path/to/file/to/copy /root/fileAs @SkewedZeppelin said, though, it's much better to use a VM.
@Futureknows I'm going to go ahead and close this, but please feel free to reopen if you would like more info!
firejail --overlay-named=jail1 firefox
So does this create a new directory where firefox will be stored inside?
Most helpful comment
If you really want to:
firejailwith anoverlay:sudo firejail --name=tmpinst --overlay-tmpfssudo firejail --put=tmpinst /path/to/file/to/copy /root/fileAs @SkewedZeppelin said, though, it's much better to use a VM.