The original question How do I migrate currently installed Ubuntu to a Virtual Machine? was insightful, but with the improvements and developments in systems like Vagrant or Docker, perhaps Clonezilla is becoming archaic for replicating development environments. I think it's worth revisiting.
My impressions about Vagrant and Docker with respect to this topic:
- Vagrant. Good for creating virtual machines in which to run your code. However, if you have an existing Ubuntu machine with lots of configurations, etc... seems like there is no way to export the setting of this machine to a vagrantfile?
- Docker. Seems to be good for running your app anywhere where docker is installed, but not developing your app anywhere. I might be wrong on this, which is why I am asking. If your main dev machine breaks, is having a docker container enough to get back up and running quickly in a development environment?
Question: Can Vagrant or Docker replace Clonezilla for dev machine cloning onto virtual machines? If so, which one would you choose and could you give some key points about implementation in this case?