Almost every time I reboot my server, my docker service fails.
It gives me the following dialogue:
Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (Connection refused) in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 712
Couldn't create socket: [111] Connection refused
Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 898
Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (Connection refused) in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 712
Couldn't create socket: [111] Connection refused
Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 967
In my logs I get:
Sep 29 11:03:43 markflix emhttpd: shcmd (474): /usr/local/sbin/mount_image '/mnt/user/system/docker/docker.img' /var/lib/docker 25
Sep 29 11:03:43 markflix root: '/mnt/user/system/docker/docker.img' is in-use, cannot mount
My docker img and appdata are on a cache drive that also has difficulty unmounting when stopping the array. I have to unmount the submounts of my cache drive manually before the array will come down.
I end up just rebuilding the docker img and everything is fine until i have to reboot my server, which is annoying--especially because not all of my docker containers are from community apps.
Anyways, I think that rclone is the most likely culprit, but that's just a hunch.
I'm a bit of a loss. Any suggestions?