Image from file system

Hi to all!
I’m new in using docker. I’d know if it is possible to create an image from the file system, I mean: I have a server centos 8 on which I created a paritcular environment, can I create an image of whole server?
Thank to all!