I just installed the Docker GUI plugin but there seems to be a problem. The following error comes up after clicking on the Docker Service in the web frontend of OMV.
Code
Error: "couldn't connect to host" - Code: 7
Error: "couldn't connect to host" - Code: 7
Error: "couldn't connect to host" - Code: 7
Error: "couldn't connect to host" - Code: 7
Fehler #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(125): OMVModuleDockerUtil::doApiCall('http://localhos...')
#1 /usr/share/openmediavault/engined/rpc/docker.inc(145): OMVModuleDockerUtil::getImages('42005', true)
#2 [internal function]: OMVRpcServiceDocker->getImages(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('getImages', Array, Array)
#5 /usr/sbin/omv-engined(500): OMVRpc::exec('Docker', 'getImages', Array, Array, 1)
#6 {main}
Alles anzeigen
I found someone had the same issue and was able to solve it by changing the port several times back and forth. It did not help me, yet.
/etc/default/docker ist looking like this:
Code
# Customize location of Docker binary (especially for development testing).
#DOCKERD="/usr/local/bin/dockerd"
# Use DOCKER_OPTS to modify the daemon startup options.
#DOCKER_OPTS="--dns 8.8.8.8 --dns 8.8.4.4"
# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy="http://127.0.0.1:3128/"
# This is also a handy place to tweak where Docker's temporary files go.
#export TMPDIR="/mnt/bigdrive/docker-tmp"
### Do not change these lines. They are added and updated by the OMV Docker GUI plugin.
OMVDOCKER_API="-H unix:///var/run/docker.sock -H tcp://127.0.0.1:42006"
OMVDOCKER_IMAGE_PATH=""
DOCKER_OPTS="$DOCKER_OPTS $OMVDOCKER_API $OMVDOCKER_IMAGE_PATH"
### Do not add any configuration below this line. It will be removed when the plugin is removed
Alles anzeigen
Docker is running
$ sudo service docker statusDocker is running.
Is this correct for the daemon? Do I have to install something else than the docker GUI plugin for docker to be running?
$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
$