June 17, 201511 yr Followed Unraid Dockerguide but am unable to get past creating your docker virtual disk. waited for 4 hours and still haven't seen the docker service. set docker to /mnt/cache/appdata/docker.img restarted server ... but to no avail ... everthing else works under unraid ... just am hoping its a small step that I am overlooking any suggestions? Jun 16 23:16:37 Tower1 php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php Jun 16 23:16:37 Tower1 php: Starting Docker... Jun 16 23:16:37 Tower1 logger: Not starting Docker: new image file path doesn't exist Jun 16 23:16:38 Tower1 php: Updating templates... Updating info... Jun 16 23:16:38 Tower1 php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505 Jun 16 23:16:38 Tower1 php: Couldn't create socket: [2] No such file or directory Done.
June 17, 201511 yr 2 questions then, 1st leads into the 2nd. do you have a cache drive if so , do you have a share called appdata that is cache only
June 17, 201511 yr set the docker img to /mnt/cache/appdata omit the docker.img , perhaps it's looking for /mnt/cache/appdata/docker.img to be a path to place docker.img into. it was a while since i set my .img i can't remember.
June 17, 201511 yr Author this is what I get in the logs Jun 17 00:33:54 Tower1 php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php Jun 17 00:33:54 Tower1 php: Starting Docker... Jun 17 00:33:54 Tower1 logger: Not starting Docker: new image file path doesn't exist Jun 17 00:33:55 Tower1 php: Updating templates... Updating info... Jun 17 00:33:55 Tower1 php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505 Jun 17 00:33:55 Tower1 php: Couldn't create socket: [2] No such file or directory Done. Jun 17 00:35:44 Tower1 emhttp: /usr/bin/tail -n 42 -f /var/log/syslog 2>&1
June 17, 201511 yr ok, instead of entering it manually, try using the picker (sort of a dropdown that lets you find the path) in the field for .img path.
June 17, 201511 yr I had the same problem. For me the reason was the OpenVPN plugin I have running. If you have that too, set it to not start at array start. Restart your server and docker will be there. Now reenable the autostarting of OpenVPN. Afterwards on my system everything worked as expected, Docker and OpenVPN, even after rebooting.
June 17, 201511 yr Author no open vpn ... I have nothing just upgraded from 5.0.6. no plugins ... trying to go to docker from plugins .. but stuck
June 17, 201511 yr Author still the same, its has not changed we are still at the start ... must be something small that is missed i have appdata at the root of mnt/ Thanks for your help
June 17, 201511 yr still the same, its has not changed we are still at the start ... must be something small that is missed i have appdata at the root of mnt/ Thanks for your help /mnt/appdata that's not right. in /mnt you should have something like this (number of disks will be different) root@Unraid-Nas:/mnt# ls cache/ disk10/ disk12/ disk14/ disk16/ disk18/ disk2/ disk4/ disk6/ disk8/ user/ disk1/ disk11/ disk13/ disk15/ disk17/ disk19/ disk3/ disk5/ disk7/ disk9/ user0/
July 2, 201511 yr I'm getting the same error after updating to 6.0.1. Jul 1 18:48:16 spacecataz php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php Jul 1 18:48:16 spacecataz php: Starting Docker... Jul 1 18:48:16 spacecataz logger: starting docker ... Jul 1 18:48:30 spacecataz php: Updating templates... Updating info... Jul 1 18:48:30 spacecataz php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505 Jul 1 18:48:30 spacecataz php: Couldn't create socket: [2] No such file or directory Jul 1 18:48:30 spacecataz php: Warning: Invalid argument supplied for foreach() in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 364 Jul 1 18:48:30 spacecataz php: Jul 1 18:48:30 spacecataz php: Warning: file_put_contents(): Only 0 of 4 bytes written, possibly out of free disk space in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 365 Jul 1 18:48:30 spacecataz php: Done. Jul 1 18:48:52 spacecataz emhttp: /usr/bin/tail -n 42 -f /var/log/syslog 2>&1 Edit: Looks like my thumb drive ran out of space. I guess 1GB will not cut it anymore. 16GB thumb drive worked great!
July 20, 201510 yr Same issue with 6.0.1 Jul 20 23:32:21 Dalekanium php: /usr/local/emhttp/plugins/dynamix.docker.manager/event/started;/usr/local/emhttp/plugins/dynamix.docker.manager/dockerupdate.php Jul 20 23:32:21 Dalekanium php: Starting Docker... Jul 20 23:32:21 Dalekanium kernel: BTRFS info (device loop0): disk space caching is enabled Jul 20 23:32:21 Dalekanium kernel: BTRFS: has skinny extents Jul 20 23:32:21 Dalekanium logger: Resize '/var/lib/docker' of 'max' Jul 20 23:32:21 Dalekanium logger: starting docker ... Jul 20 23:32:21 Dalekanium kernel: BTRFS: new size for /dev/loop0 is 10737418240 Jul 20 23:32:39 Dalekanium php: Updating templates... Updating info... Jul 20 23:32:39 Dalekanium php: Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (No such file or directory) in /usr/local/emhttp/plugins/dynamix.docker.manager/dockerClient.php on line 505 Jul 20 23:32:39 Dalekanium php: Couldn't create socket: [2] No such file or directory Done. Edit: After reading https://lime-technology.com/forum/index.php?topic=36430.0 I removed my docker.img and let it create a new one, seems like it might be working now (but need to reinstall images)
January 9, 201610 yr I had the same problem. For me the reason was the OpenVPN plugin I have running. If you have that too, set it to not start at array start. Restart your server and docker will be there. Now reenable the autostarting of OpenVPN. Afterwards on my system everything worked as expected, Docker and OpenVPN, even after rebooting. This solved my problem too!
September 21, 20169 yr I had the same problem. For me the reason was the OpenVPN plugin I have running. If you have that too, set it to not start at array start. Restart your server and docker will be there. Now reenable the autostarting of OpenVPN. Afterwards on my system everything worked as expected, Docker and OpenVPN, even after rebooting. Just wanted to bump this to the top and thank SlrG. I was tearing my hair out attempting to resolve my docker issue. This fix worked. I have now set my individual docker apps and Open VPN to not auto-start.
Archived
This topic is now archived and is closed to further replies.