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
2
votes
1 answer

Are processes killed automatically if memory and swap run out?

I have an Ubuntu 16.04 virtual machine for highly computation expensive jobs that run in parallel on the machines 32 cores (1 per core, assigned by GNU parallel). After runtimes of hours to days, I noticed that some cores were freed up and the…
stefanbschneider
  • 5,460
  • 8
  • 50
  • 88
2
votes
2 answers

Connect to External MYSQL docker container

I have two VM's running, one (A) has the MYSQL database inside a docker network. The other (B) VM has my front-end application docker container. I run my MYSQL docker container (A) as follow: docker run --name db --net=netname -v…
Alphawarz
  • 79
  • 1
  • 8
2
votes
2 answers

Why weren't containers popular before Docker?

I'm currently into Docker and I'm asking myself why containers in general weren't hyped before Docker? I mean it's not like containers were something new. The technology has been around for quite some time now. But Docker gained like it's success…
Amiya
  • 25
  • 7
2
votes
3 answers

Is it possible to query the Java VM to find the maximum possible array size? How?

I have a program in which I want to allocate the largest array possible. Is there a way in Java to query the VM to find out what that is? If so, how can I do it? My latest attempt at getting the information was trial and error: I started trying to…
Bruce Feist
  • 621
  • 5
  • 10
2
votes
1 answer

Do containers always require less resources or do they create additional overhead

I have been learning about the Docker and its advantages. These advantages include, but are not limited to: Rapid Deployment Portability Security Isolation Version control Lightweight footprint with minimal overhead My questions: Will it…
ob1
  • 1,425
  • 1
  • 20
  • 33
2
votes
2 answers

Vagrant up command gives executable not found in %PATH% error

I have installed vagrant and successfully added vagrant ubuntu box. But on running "vagrant up" command from the project directory, I got this error : The executable "powershell" vagrant is trying to run was not found in the %Path% variable.This…
user5737806
2
votes
1 answer

How do I connect my iPhone to the virtual machine (VMware macOS)?

my virtual machine (VMware macOS) doesn't see my iPhone when I connect my iPhone to the computer. Anyone knows how to handle this ? I want to connect just for using my iPhone as simulator.
Furkan Topal
  • 55
  • 1
  • 4
2
votes
1 answer

Kivy VM buildozer

I need your help because I have a kivy application and I am trying to use buildozer in the VM. (I followed these steps if you are interested: https://kivy.org/docs/guide/packaging-android-vm.html) My code is in Python3 so I downloaded the Crystax…
John
  • 21
  • 4
2
votes
2 answers

Unable to copy files from host to guest or vice versa using virtual machine?

I am using Oracle VM Virtual Machine, host is windows and guest is Ubuntu. I am unable to copy files from windows to ubuntu or vice versa. I have looked into the below link…
Kwaghray
  • 39
  • 2
  • 9
2
votes
2 answers

How to get ssh agent forwarding working with multiple accounts on a vm?

There are a good number of answers out there on ssh agent forwarding, but I couldn't seem to find one that addresses my issue. I am using packer.io to automate the provisioning of my servers. One of the builders I am using is the virtualbox-iso…
Matthew Sanders
  • 4,875
  • 26
  • 45
2
votes
0 answers

Migrate a VMWare guest system to a physical drive

I have been working on a project of mine on Ubuntu 16.04 which I installed on VMWare on Windows 10. Now due to RAM issues and lagging I want to migrate this virtual environment into a physical environment which I can dual boot with my Windows 10(so…
2
votes
1 answer

Vagrant stalling on boot

I am trying to get a virtual machine working with Vagrant. Everything seems to run fine and it begins to unpack/install all the needed files. But every single time it just stalls when I get to this point. ==> default: Setting up grub-pc…
2
votes
2 answers

Login error on fedora 25 atomic host

I followed the Quick Start Page: http://www.projectatomic.io/docs/quickstart/ to create a virtual machine with Virtual Box on Mac OSX. I created a same iso file as the guide showed to me. It worked and the login interface came out. But I can't…
ShuangSong
  • 305
  • 5
  • 10
2
votes
1 answer

Running embedded tomcat java Spring app in linux vm (Microsoft Azure)

I have a Spring application that I am trying to run in a linux virtual machine. I can package the .WAR file and run it locally with no problems on my machine, but I am unable to come up with an understanding on how I would go about running this…
Alien
  • 444
  • 2
  • 9
  • 28
2
votes
4 answers

How to increase harddisk size of Azure VM

I am using Azure VM which is of type RHEL OS type. Currently I am using Standard D3 v2 size VM. I see only 32 hard disk storage available in VM. How do I increase the size of hard disk? Filesystem Size Used Avail Use% Mounted on /dev/sda2 …
Galet
  • 5,853
  • 21
  • 82
  • 148
1 2 3
99
100