Broken esphome on docker?

Hello everybody!
English is not my first language so, I apologize if there is a misuse of the terminology.
I installed esphome on a docker container running on an Ubuntu VM, it worked very well, but unfortunately the hard drive on the cheap machine I use to run the VM fail on me and I lost all my containers. Very bad situation, I do not have access to another machine to make backups but working and reading for a solution ASAP.
I have 7 working nodes and they are still communicating very well with HA.
So here is my question.
What is the best approach for a new esphome installation, just a fresh install and lost all the communication with the already working nodes or is there a way to connect the nodes with a new installation.
Thanks in advance.

They will continue to work with HA.

To integrate them in esphome you need a yaml file. There is no way to generate the yamp from the esp device.