Is VirtualBox suitable for one program to run

This is for discussing general topics about how to use VirtualBox.
Post Reply
Aladdin
Posts: 1
Joined: 12. Oct 2017, 17:57

Is VirtualBox suitable for one program to run

Post by Aladdin »

Hi everybody.

I need to test a program. The test from the start to the end can take about 10 hours. And it's not possible to save the program and reached progress. So if I close the program, I need to start from the very beginning next run. Is it possible to save the program at the point I've ended. It's like the hibernation only for the program, not the whole system. Is it possible with VirtualBox or it's better to use something lighter for the purpose.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Is VirtualBox suitable for one program to run

Post by socratis »

VirtualBox is a hardware emulator. A fake/virtual computer. It is not designated to work with a single program. It works with Operating Systems. But since you are not interested in that, I suspect you'd have to search for a different kind of a solution, although I must say I haven't heard of "program hibernation" before. Maybe something like a backup/restore of sorts?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
MPerz
Posts: 39
Joined: 18. Apr 2013, 16:29
Primary OS: MS Windows other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Debian, Ubuntu

Re: Is VirtualBox suitable for one program to run

Post by MPerz »

The "save state" feature of VirtualBox might be what you're looking for; this allows you to pause and resume the execution state of a machine at any point. I can't say how it might affect performance of the software in question, so you would just have to try it to find out. And to reiterate socratis' point, remember that you would first have to create a virtual machine (guest) with a complete operating system to install the software to. VirtualBox will not enable you to run software independently of an operating system. If this is what you're after, then you might want to look into a container solution like Docker instead, though this is not something I am very familiar with and is outside the scope of this forum.
Post Reply