windows icon indicating copy to clipboard operation
windows copied to clipboard

[Question]: how to clone from windows template

Open LinkCaau opened this issue 1 year ago • 1 comments

Is your question not already answered in the FAQ?

  • [X] I made sure the question is not listed in the FAQ.

Is this a general question and not a technical issue?

  • [X] I am sure my question is not about a technical issue.

Question

I have installed a Windows system and set up some essential software. I want to use this Windows as a template. How do I export and use this template to create multiple containers?

LinkCaau avatar Sep 10 '24 08:09 LinkCaau

Inside the /storage volume there is a file called data.img that contains the whole harddisk.

So the only thing you need to do for instant installations is to provide an existing /storage volume, which can be binded to a local folder like this:

volumes:
  - /example/folder:/storage

So for backing up or restoring machines, all you need to do is make a copy of /example/folder. And if you have multiple folders, you can easily switch between them by changing that line in your compose file.

kroese avatar Oct 01 '24 17:10 kroese