VirtualBox cheatsheet
Run a whole second computer inside your computer
How it works
- Host and guest — Your real computer is the host; each virtual machine is a guest.
- Virtual hardware — CPU, RAM, disk and network cards are shared safely.
- Snapshots — Save the exact state and return to it any time.
- Network modes — NAT gives internet; Host-only keeps a lab private.
First steps
VBoxManage --version- Check the installed version
VBoxManage list vms- List your virtual machines
VBoxManage snapshot "Ubuntu" take clean- Save a snapshot
VBoxManage snapshot "Ubuntu" restore clean- Go back to it