You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this problem trying to connect from phpvirtualbox to vboxweb-service running on the docker host (since my vbox user and password were not the defaults.) Here's my (slightly hacky) fix, and my complete setup in case anyone else is interested in doing this:
Setup:
Start with Ubuntu v14.04.2
Create/edit /etc/default/docker:
DOCKER_OPTS="--bip 172.17.42.1/24"
This will set up the docker bridge to always be on 172.17.42.1, which means from inside a docker container we can connect to 172.17.42.1 to get to the docker host.
Install virtualbox via apt
Create a 'vbox' user and set a password. Create a home directory for vbox.
Create /etc/default/virtualbox
VBOXWEB_USER=vbox
VBOXWEB_HOST=172.17.42.1
sudo service vboxweb-service start to get vboxweb-service up and running.
This mounts /opt/phpvirtualbox/config-servers.php into /var/www/config-servers.php, and mounts it read-only, which will make it effectively override the one generated by the docker image.
For example:
The text was updated successfully, but these errors were encountered: