Questions tagged [virtual-machine]

A virtual-machine is software emulating complete computer hardware. There are various applications that supply this functionality. **Note**: For questions on the Java VM, use the specific tag [jvm], and for the Android virtual machine, use the tag [dalvik]. For other questions on implementation details of other kinds of VMs like interpreters, automata or Turing-machines, use the tag [vm-implementation]. ONLY QUESTIONS ABOUT PROGRAMMING ARE ON-TOPIC.

If you need non-programming help setting up a virtual machine, ask those questions on Server Fault or Super User.

A virtual-machine is software emulating complete computer hardware. There are various applications that supply this functionality.

The term virtual-machine can be used for a single file containing the software which emulates all the hardware. Virtual-machine software use various hardware and software tricks to speed up the running software.

Programs run on a real machine do not need to be changed to be run on a virtual machine. A program running on a virtual machine works exactly the same as if it were running on its own hardware.

Some virtual machine software include:

8242 questions
53
votes
19 answers

Docker won't start on Windows: Not Enough memory to start docker

I am trying to get started with Docker on Windows. My machine has 4GB of RAM and a 1.9GHz - 2.5GHz Intel i5 processor, running Windows 10 Pro x64. I know these aren't powerful specs, but I would have thought I should be able to run Docker? However,…
George Edwards
  • 8,979
  • 20
  • 78
  • 161
52
votes
13 answers

VM has become 'inaccessible' - Vagrant no longer working

For some reason this morning when I run 'vagrant up' I get the following error (this has worked absolutely fine for over a year) Your VM has become "inaccessible". Unfortunately, this is a critical error with VirtualBox that Vagrant can not cleanly…
Zabs
  • 13,852
  • 45
  • 173
  • 297
50
votes
4 answers

Is there a virt-manager alternative for Mac OS X?

It is common that programmers will need to interface with virtual-machines in their day-to-day workflows, and one popular way of doing so on Linux and Windows systems is with virt-manager. Is their a way to get virt-manager or a similar alternative…
Happynoff
  • 1,365
  • 1
  • 14
  • 28
50
votes
2 answers

Vagrant " VM not created." when trying to create box from existing VM

I imported the precise32 box, then installed some packages and other data on the VM. My plan is to then repackage it into a box, to save on complicated provisioning when sharing. However. vagrant package --base dev-vm --output /box/vm.box Always…
Kiksy
  • 1,272
  • 5
  • 20
  • 43
48
votes
5 answers

Is it possible to develop iOS apps with Flutter on a Linux virtual machine?

I am new to developing mobile apps and wanted to try Flutter but I use Windows. Because Flutter doesn't support Windows yet I had the idea to use a virtual machine running Linux to install Flutter. Does this work? Also in the Flutter setup it says…
philipp
  • 479
  • 1
  • 7
  • 11
48
votes
4 answers

Gitlab with non-standard SSH port (on VM with Iptable forwarding)

My gitlab is on a virtual machine on a host server. I reach the VM with a non-standard SSH port (i.e. 766) which an iptable rule then forward from host:766 to vm:22. So when I create a new repo, the instruction to add a remote provide a mal-formed…
Édouard Lopez
  • 40,270
  • 28
  • 126
  • 178
46
votes
5 answers

Can't start my virtual Box machine after installing Docker on Windows

To learn ArchLinux, I installed and using ArchLinux in a VirtualBox machine. It runs perfectly. Now I installed Docker on my pc (Windows environment). During the installation of Docker I got a warning, that if I install Docker on Windows, that…
Blank
  • 489
  • 1
  • 5
  • 11
43
votes
2 answers

Docker + Virtual Box = VT-x is not available (VERR_VMX_NO_VMX)

I installed docker. During installation, it complained that you can't have two virtualization environments, and that it would make docker the primary one. I said: "OK." Now, I need to go back to enabling virtualbox. I uninstalled Docker, hoping it…
DrDamnit
  • 4,736
  • 4
  • 23
  • 38
43
votes
9 answers

How do I package an existing VM that was not created using vagrant up command?

I installed a VirtualBox and then installed a Ubuntu 12.10 Server Base OS in it. I have installed all kinds of php packages and other packages in it. My friends recommended me to use Vagrant so I can share my setup with my team mates easily. Because…
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
42
votes
5 answers

What is the difference between Docker Host and Container

I started learning about Docker. But I keep getting confused often, even though I read it in multiple places. Docker Host and Docker Container. Docker Engine is the base Engine that handles the containers. Docker Containers sit on top of Docker…
Kevin Rave
  • 13,876
  • 35
  • 109
  • 173
40
votes
2 answers

What exactly do shadow page tables (for VMMs) do?

My understanding is that shadow page tables eliminate the need to emulate physical memory inside of the VM. ie. Instead of: guest OS -> VMM + virtual physical memory -> host OS -> host hardware It's just: guest OS -> VMM -> host OS -> host…
aerain
  • 1,149
  • 3
  • 12
  • 17
40
votes
14 answers

Rename Google Compute Engine VM Instance

How do I rename a Google Compute Engine VM instance? I created a new LAMP server and I'd like to rename it in the "VM Instances" dashboard. I've tried renaming the Custom metadata, but that didn't seem to replicate to the dashboard.
mickeylieu
  • 403
  • 1
  • 4
  • 5
40
votes
3 answers

Vagrant cannot forward the specified ports on this VM

I have Vagrant in use for one box profile. Now I want to use Vagrant for another box (b2), but it says that bioiq's instance is consuming the forwarded port 2222 (which it is). Now, if I configure b2 with the below, Vagrant still tries to use…
Nutritioustim
  • 2,686
  • 4
  • 32
  • 57
40
votes
9 answers

Unable to connect to Vagrant private network from host

I have a vagrant virtual box up and running. So far I have been unable to connect to the web server. here is the start up: [jesse@Athens VVV-1.1]$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any…
laertiades
  • 1,992
  • 2
  • 19
  • 26
40
votes
17 answers

Geny motion failed to import OVA

Suddenly, i lost all Geny motion emulators (maybe after upgrading to Geny motion 2.2, not sure) and when ever i download a new virtual machine or emulator i get the "failed to import OVA" error and i can't use the virtual machines i downloaded at…
user2469133
  • 1,940
  • 3
  • 21
  • 33