本帖最后由 win3gp 于 2018-9-23 18:42 编辑
在用6.2系统,没有可用的virtualbox,在docker中有可用的virtualbox,https://hub.docker.com/r/jazzdd/phpvirtualbox/ 中的配置不懂怎么用。求大神帮助下。谢谢!
This image provides the phpVirtualBox web interface that communicates with any number of VirtualBox installations on your computers. Internally, the phpVirtualBox web interface communicates with each VirtualBox installation through the vboxwebsrv program that is installed as part of VirtualBox. The container is started with following command: docker run --name vbox_http --restart=always \ -p 80:80 \ -e ID_PORT_18083_TCP=ServerIPORT \ -e ID_NAME=serverName \ -e ID_USER=vboxUser \ -e ID_PW='vboxUserPassword' \ -e CONF_browserRestrictFolders="/data,/home" \ -d jazzdd/phpvirtualbox- -p {OutsidePort}:80 - will bind the webserver to the given host port
- -d jazzdd/phpvirtualbox - the name of this docker image
- -e ID_NAME - name of the vbox server
- -e ID_PORT_18083_TCP - ip/hostname and port of the vbox server
- -e ID_USER - user name of the user in the vbox group
- -e ID_PW - password of this user
- -e CONF_varName - override default config value of varName, browserRestrictFolders is a useful example. Coma-separated strings will be converted into an array.
|