Public | Automated Build

Last pushed: 3 months ago
Short Description
[FORKED] Tunneled VirtualBox SOAP webserver docker image, using ssh
Full Description

docker-vboxwebsrv

FORKED BY VEGARDSAGLIEN
The fork makes the container use an ssh-key instead of asking for password, making it non-interactive.

This is a minimal docker image that allows you to connect to a computer running VirtualBox
through SSH and expose its SOAP WebService (vboxwebsrv) on your machine.

This is particularly intended for use with the clue/phpvirtualbox
docker image.

Usage

This docker image is available as a trusted build on the docker index.
Using this image for the first time will start a download automatically.
Further runs will be immediate, as the image will be cached locally.

The recommended way to run this container looks like this:

$ docker run -d --name=vb1 -v /root/.ssh/id_rsa:/root/.ssh/id_rsa vegardsaglien/vboxwebsrv vbox@10.1.2.3

This will start a container that will establish a connection to the given host.
The host 10.1.2.3 is your computer that VirtualBox is installed on.

To establish an encrypted SSH connection it will use the privatekey id_rsa.
Make sure you can connect to the server with the given key before running the container. If it asks for password, you have done something wrong.

Once connected, it will launch a temporary instance of the vboxwebsrv program that comes with VirtualBox.
This will be exposed through the SSH tunnel to your docker container and will terminate when your container
terminates.

The next step would be linking your vb1 container to your phpVirtualBox container.
Please see clue/phpvirtualbox for details, a common
way to link them together looks like this:

$ docker run -d --link vb1:MyComputer -p 80:80 clue/phpvirtualbox
Docker Pull Command
Owner
vegardsaglien
Source Repository

Comments (0)