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
127
votes
32 answers

A VirtualBox machine with the name 'homestead' already exists

Since homestead 2.0 homestead laravel has not been working I don't know why 'homestead init' creates a Homestead.yaml file in mydirectory/.homestead and not in the project directory. Homestead up OR Vagrant up create the following message A…
Matt Doran
  • 2,050
  • 2
  • 16
  • 18
119
votes
3 answers

"VT-x is not available" when I start my Virtual machine

I have created a virtual machine using the VMWare software and getting an error while starting the Virtual Machine. It says "VT-x is not available: 00:00:03.916 NAT: zone(nm:mbuf_cluster, used:0) 00:00:03.916 NAT: zone(nm:mbuf_packet,…
D MADANAGOPAL
  • 1,207
  • 2
  • 8
  • 3
117
votes
9 answers

How to export a Vagrant virtual machine to transfer it

I have a vagrant box up and running (configured with a LAMP stack). I need to transfer it to another PC. How can I export it? I guess that I can get a file (or files) that can be copied to another PC, so there I can run some command to import the…
Eugene
  • 1,680
  • 3
  • 14
  • 23
112
votes
7 answers

How to Allow Remote Access to PostgreSQL database

I have PostgreSQL 9.2 Installed in Windows 7 and I have windows XP installed in Virtual Machine, how do I connect these two databases and allow remote access to add/edit the database from both Systems ?
Ali4356
  • 1,247
  • 2
  • 9
  • 13
100
votes
23 answers

Bridged networking not working in Virtualbox under Windows 10

I just upgraded my laptop from Windows 7 to Windows 10 and found that I am unable to start Virtualbox VMs configured with a bridged adapter. See the configuration below:
J.Wang
  • 1,241
  • 3
  • 13
  • 17
97
votes
9 answers

How to connect to docker host from container on Windows 10 (Docker for Windows)

At which IP address can a docker container connect to its host on Docker for Windows (on Windows 10)? How do you find this IP address? Example: you have a service running at port 1234 on your Windows 10 machine. A program inside your container must…
GroovyPanda
  • 3,694
  • 8
  • 31
  • 42
91
votes
5 answers

Access Parallels Windows localhost from Mac

I use Windows (7) OS as a development platform, running on a Mac / Parallels Desktop 5. I would like to access the Windows localhost - from the Mac side for testing purposes. I've found many solutions of accessing the other way around (access Mac's…
Ranch
  • 2,601
  • 4
  • 29
  • 28
90
votes
10 answers

Can I run a 64-bit VMware image on a 32-bit machine?

Can I run a 64-bit VMware image on a 32-bit machine? I've googled this, but there doesn't seem to be a conclusive answer. I know that it would have to be completely emulated and would run like a dog - but slow performance isn't necessarily an issue…
John Sibly
  • 22,782
  • 7
  • 63
  • 80
87
votes
3 answers

What are ODEX files in Android?

After some android apps installed, I found that it will change to odex file (not apk) in smartphone. How does it happens? Who can teach me, I am very interested about it.
user1253435
  • 871
  • 1
  • 7
  • 3
83
votes
3 answers

What does the DOCKER_HOST variable do?

I'm new to Docker, using Boot2Docker on OSX. After booting it, this message is given: To connect the Docker client to the Docker daemon, please set export DOCKER_HOST=tcp://192.168.59.103:2375 Yet even without it, basic Docker commands (eg, docker…
Steve Bennett
  • 114,604
  • 39
  • 168
  • 219
79
votes
10 answers

How to install Guest addition in Mac OS as guest and Windows machine as host

I am trying to copy contents from my host machine to a guest machine, but for copying I need to install the Guest additions disk. Or there is there another way to access host machine content on the guest machine or vice-versa?
Rakesh Chaudhari
  • 3,310
  • 1
  • 27
  • 25
76
votes
7 answers

Docker Desktop doesn't install saying docker-ce-cli not installable

In an online training course, the instructor mentioned that he has "an Ubuntu virtual machine installed with Docker Desktop"; therefore, I am trying to install the same on a Windows 10 physical host following the instructions on the official…
James
  • 1,373
  • 3
  • 13
  • 27
75
votes
8 answers

How to convert flat raw disk image to vmdk for virtualbox or vmplayer?

I have some old images of old Linux filesystems in flat file format. they can be used by Bochs, but I need to run them with Virtual Box. Virtual Box cannot use images in this format, so I need to convert these images from flat file to .vmdk file…
okutane
  • 13,754
  • 10
  • 59
  • 67
75
votes
10 answers

Genymotion virtualization engine not found/plugin loading aborted on Mac

I downloaded Genymotion but cannot get it to work. I keep on getting "virtualization engine not found, plugin loading aborted". I have uninstalled and reinstalled it, force quit and restarted it, and looked at other solutions to no avail. It seems…
SaH
  • 929
  • 1
  • 8
  • 17
73
votes
8 answers

How to access SSH keys for a Google Cloud Platform Compute Engine VM instance?

I created a new instance via the Google Cloud web console from a CentOS 6.x image. I saw a blank on the creation form where I could paste in an existing SSH key; since this was my first instance, I didn't have one yet. I assumed it would take me…