Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unable to get docker to start after update to 6.0

Featured Replies

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.

  • Author

yes manually added

 

  • Author

yes,

appdata is a share that exists

 

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

  • Author

yes have cache drive ...  and yes appdata is cache only

 

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.

  • 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

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.

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.

  • Author

no open vpn ... I have nothing just upgraded from 5.0.6.

no plugins ... trying to go to docker from plugins .. but stuck

 

  • Author

just set it to mnt/cache

  • 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

 

 

 

 

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/

 

  • 2 weeks later...

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!

  • 3 weeks later...

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)

  • 5 months later...

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!

  • 8 months later...

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.