Hey every1,
Lately was struggling to get Openmediavault-openvpn 1.1 and Openmediavault-docker-gui 0.2.22 working on the same omv installation. Honestly still not working as expected. If the Docker plugin good then ovpn is not working.
I finally got them working but the docker GUI is not working now. I get the following:
Error: "couldn't connect to host" - Code: 7
Error #0:
exception 'OMVModuleDockerException' with message 'Error: "couldn't connect to host" - Code: 7' in /usr/share/omvdocker/Utils.php:63
Stack trace:
#0 /usr/share/omvdocker/Utils.php(180): OMVModuleDockerUtil::doApiCall('http://localhos...')
#1 /usr/share/openmediavault/engined/rpc/docker.inc(354): OMVModuleDockerUtil::getContainers('42015')
#2 [internal function]: OMVRpcServiceDocker->getContainers(Array, Array)
#3 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getContainers', Array, Array)
#5 /usr/sbin/omv-engined(500): OMVRpc::exec('Docker', 'getContainers', Array, Array, 1)
#6 {main}
Display More
I got it working by starting all docker application through the ssh and docker compose but its a pity that the wonderful app server/nas that my omv has become does not show the images and the containers and cannot restart them from the interface if needed.
Does anyone have functional install with both plugins and how can one do that ? I know that once you have docker plugin installed and then ovpn. iptables rules for traffic redirection get quirky and ovpn does not work because redirects traffic to docker IP instead of the local network.
Cheerz,
Guby