My OS is windows. Running Vagrant on Virtualbox.
I am trying to run a number of docker projects in such environments.
I created a Vagrantfile.
Inside the loop for: Vagrant.configure("2") do |config|
I have:
config.vm.synced_folder "./local_dockerproject1",
"/commonbase/local_dockerproject1"
Inside the above local_dockerproject1 directory on the windows host, I have
the compose.yml file for project1.
All is well. The host folder is mounted into the virtual machine
environment and I can run the docker container.
I want to run more projects within the same environment (Vagrant +
Virtualbox)
Each projects has its own compose.yml file sitting in its own directory.
Is it possible to chain link additional host folders like below:
config.vm.synced_folder "./local_dockerproject1",
"/commonbase/local_dockerproject1"
config.vm.synced_folder "./local_dockerproject2",
"/commonbase/local_dockerproject2"
…
If the above is possible, say I have 4~5 projects running simultaneously in
this setup. What kind of RAM allocation I should assign? Right now, with 1
project, I assigned 4MB RAM (My window host has 8GB RAM) as follows:
config.vm.provider "virtualbox" do |v|
v.memory = 4096
Can Vagrant automatically request more RAM allocation from the host if
Vagrant, the virtual machine manager, runs low on memory? Or I have to
manually provision the RAM allocation and restart the Vagrant engine again?
Thanks in advance.
Sorcerer
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/d185bf5d-5b10-4aa2-8d46-ecb6612030f4%40googlegroups.com.