How to increase docker-machine memory Mac

You can do this via the command line. For example, to change the machine from the default 1cpu/2048MB RAM run: docker-machine stop VBoxManage modifyvm default –cpus 2 VBoxManage modifyvm default –memory 4096 docker-machine start You can then check your settings: VBoxManage showvminfo default | grep Memory VBoxManage showvminfo default | grep CPU And for docker-machine … Read more

How do I associate a Vagrant project directory with an existing VirtualBox VM?

For Vagrant 1.6.3 do the following: 1) In the directory where your Vagrantfile is located, run the command VBoxManage list vms You will have something like this: “virtualMachine” {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} 2) Go to the following path: cd .vagrant/machines/default/virtualbox 3) Create a file called id with the ID of your VM xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 4) Save the file and … Read more

VBoxManage: error: Failed to create the host-only adapter [closed]

I had the same problem today. The reason was that I had another VM running in VirtualBox. Solution: Open VirtualBox and shut down every VM running Go to System Preferences > Security & Privacy Then hit the “Allow” button to let Oracle (VirtualBox) load. Restart VirtualBox sudo “/Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh” restart You should now be able … Read more

Vagrant ssh authentication failure

For general information: by default to ssh-connect you may simply use user: vagrant password: vagrant https://www.vagrantup.com/docs/boxes/base.html#quot-vagrant-quot-user First, try: to see what vagrant insecure_private_key is in your machine config $ vagrant ssh-config Example: $ vagrant ssh-config Host default HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile C:/Users/konst/.vagrant.d/insecure_private_key IdentitiesOnly yes LogLevel FATAL … Read more