Tag: virtualbox

Virtualize Kickstart Server

I have a cluster of computers and I am using one of them as a kickstart server. I configured DHCP/TFTP/FTP on it and it worked fine. When you boot any box in the cluster and choose to boot from network, it will reach out to that kickstart server, lease an IP, install OS..etc. However, using […]

how to create a vagrant box which is not already in the list http://www.vagrantbox.es

I understood vagrant as the virtual box definition language(correct me , if I am wrong) My initial query is I want to create vagrant box for cent os 7 http://www.centos.org which is not already on the list http://www.vagrantbox.es How can I do that ? Can I run a vagrant box created in virtual box as […]

docker upgrade – grub error

on osx, trying to upgrade docker via docker upgrade, getting this error message: Package configuration┌──────────────────────────┤ Configuring grub-pc ├──────────────────────────┐│││ The GRUB boot loader was previously installed to a disk that is no││ longer present, or whose unique identifier has changed for some reason. ││ It is important to make sure that the installed GRUB core image […]

how to use test-kitchen in multi node environment?

test-kitchen doesn’t support multi vm tasks, I tried to define a few nodes in Vagrantfile but it is too slow – start 5 virtual virtualbox VMs at once. Perhaps I need to use docker but the whole configuration becomes too complex, especially comparing usual test-kitchen setup. What’s the easiest way to test chef cookbooks with […]

How to start a docker container when windows boots

Is there a recommended way of starting a docker container when windows boots? I’m investigating around vboxmanage guestcontrol (see: http://www.virtualbox.org/manual/ch08.html#vboxmanage-guestcontrol) but I’m don’t figure out all of that. Any best practice to recommend? Regards, Xavier

Why is virtualbox running so slowly under docker?

I’m trying to get virtualbox to run inside docker. I’m well past is it possible to run virtualbox inside a docker container because I can start VBoxManage but it unfortunately spins at 100% CPU (despite working perfectly on the host) for several minutes before finally settling. This is the Dockerfile I’m running: https://github.com/fommil/freeslick/tree/docker-build which includes […]

Postgresql with docker: FATAL: could not read permissions of directory: Permission denied

I’m trying to dockerize a postgresql server while persisting the data on the host. My container works fine without mounting volumes from the host, but it crashes because of permissions with those volumes: FATAL: could not read permissions of directory “/var/lib/postgresql/9.4/main”: Permission denied my docker run command is docker run -p 54332:5432 -v `pwd`/volumes/postgres/log:/var/log/postgresql -v […]

Docker mounted volume – how to give cassandra permission to write to mounted volume folder

I am running cassandra in a docker container with a mounted volume(mac docker with VirtuelBox/boot2docker latest docker-machine). docker run -v <src>:<dest>. I am getting the beneath errors. I suspect that it has something to do with cassandra not having permission to write to data folder. This use to work, but maybe it has been introduced […]

Not able to access docker daemon api from docker container

I have vagrant box running with docker daemon and on same box I have a docker container running. From docker container, I am trying to curl http://<IP-of-virtualbox>:2375/version and it’s not able to connect. Getting the message connection refused But from host machine I can curl http://<IP-of-virtualbox>:2375/version, not only from container.

Virtual Machine with Vagrant is not accesible from the client the first time

I’m trying to run a Rails project using Nginx with docker and vagrant. Everything is ok if I use the vagrant box ubuntu/trusty64, I provision the VM and everything is ok. But I wanted to create my own box from ubuntu/trusty64 and this is when all my problems began. So I created the box using […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.