Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phpvirtualbox via docker container #15

Open
bigAboo80 opened this issue Apr 15, 2020 · 3 comments
Open

phpvirtualbox via docker container #15

bigAboo80 opened this issue Apr 15, 2020 · 3 comments

Comments

@bigAboo80
Copy link

Hello, I setup phpvirtualbox in docker container "jazzdd/phpvirtualbox". Here is config
docker run --name vbox_http --restart=always
-p 8888:80
-e ID_HOSTPORT=192.168.1.14:18083
-e ID_NAME=homesrv
-e ID_USER=vbox
-e ID_PW='vbox'
-e CONF_browserRestrictFolders="/data,/home"
-d jazzdd/phpvirtualbox

After login i see this
изображение

And this

Exception Object
(
[message:protected] => Could not connect to host (http://192.168.1.14:18083/)
[string:Exception:private] =>
[code:protected] => 64
[file:protected] => /var/www/endpoints/api.php
[line:protected] => 134
[trace:Exception:private] => Array
(
)

[previous:Exception:private] => 

)

Services works fine, both - vboxweb and virtualbox, passwords and right is OK. Whats wrong?

@MenosGrandes
Copy link

How You have started the VB server ? I have found that You have to run VBoxWebSrv like this:
VBoxWebSrv --host <ip_of_host_machine>

@bigAboo80
Copy link
Author

Do you mean that one?

● vboxweb-service.service
Loaded: loaded (/usr/lib/virtualbox/vboxweb-service.sh; enabled; vendor preset: enab Active: active (exited) since Sun 2020-05-24 19:57:13 MSK; 9s ago
Process: 31501 ExecStart=/usr/lib/virtualbox/vboxweb-service.sh start (code=exited, s
May 24 19:57:13 homesrv systemd[1]: Starting vboxweb-service.service...
May 24 19:57:13 homesrv vboxweb-service.sh[31501]: vboxweb-service.sh: Starting VirtualMay 24 19:57:13 homesrv vboxweb-service.sh[31552]: VirtualBox web service started.
May 24 19:57:13 homesrv systemd[1]: Started vboxweb-service.service.

@MenosGrandes
Copy link

look dipper into this service, and try to add the host flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants