Is it possible to save full Linux OS system as a rootfs.tar.gz and to view all root directories extracted from an exported.saved .tar.gz?

Hello!

I have searched, but I did not get what I wanted. I was reading:

  1. Are the images of full operating systems?
  2. Windows Subsystem for Linux and Docker for Windows (no answer)

If I download and install a Linux OS image/container via docker, will I save a full OS system (all root directories) as a rootfs.tar.gz? And if I extract the .tar.gz`, will I view all root folders?