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.

Docker service wont start

Featured Replies

I get the following error message

Quote

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 654
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 826

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 654
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 890

Does anyone know what that means and what I should do about it?

 

Edited by Squazz

5 minutes ago, Squazz said:

I get the following error message

Does anyone know what that means and what I should do about it?

 

Not without more context.  Need to see what you're doing to generate that error message.   To clarify, is it the docker service that won't start?  Or a docker container?  If it's the former, you need to post diagnostics, if it's the latter then some more info on the container etc

Edited by CHBMB

  • Author
5 hours ago, CHBMB said:

Not without more context.  Need to see what you're doing to generate that error message.   To clarify, is it the docker service that won't start?  Or a docker container?  If it's the former, you need to post diagnostics, if it's the latter then some more info on the container etc

My bad :) It went a little fast with that post ;)

It's the service that won't start

 

Diagnostics: nas-diagnostics-20190210-1626.zip

Image where I got the error-message

image.thumb.png.306a3c51b8601e4e4dffd13c8663275b.png

Well, you're using a release candidate, so probably should report it there.

What version did you update from?

Edited by CHBMB

  • Community Expert
Feb 10 16:21:58 NAS kernel: BTRFS warning (device loop2): csum failed root 5 ino 15295 off 0 csum 0x98f94189 expected csum 0xd349d779 mirror 1

 

Docker image is corrupt, delete and recreate.

  • Author
6 minutes ago, CHBMB said:

Well, you're using a release candidate, so probably should report it there.

What version did you update from?

I upgraded to the release candidate because I had the problem before on version 6.6.6
Upgrading to the release candidate however gave me the error message, that I didn't have before

  • Author
3 minutes ago, johnnie.black said:

Feb 10 16:21:58 NAS kernel: BTRFS warning (device loop2): csum failed root 5 ino 15295 off 0 csum 0x98f94189 expected csum 0xd349d779 mirror 1

 

Docker image is corrupt, delete and recreate.

How would I go around doing this? :)

2 minutes ago, Squazz said:

Upgrading to the release candidate however gave me the error message, that I didn't have before

In Unraid 6.7 we do not suppress PHP warnings anymore.

 

Please follow the advice of @johnnie.black and delete/recreate your docker image. You will need to re-install your containers, if you have CA installed, you can use its restore function to quickly get back all your containers.

  • Author
1 hour ago, bonienl said:

In Unraid 6.7 we do not suppress PHP warnings anymore.

 

Please follow the advice of @johnnie.black and delete/recreate your docker image. You will need to re-install your containers, if you have CA installed, you can use its restore function to quickly get back all your containers.

I'm not sure how to use the restore function. Where should I look?

I'm not sure how to use the restore function. Where should I look?
The apps tab. And there will be something there to reinstall existing applications or something along those lines.

Sent from my Mi A1 using Tapatalk

2 minutes ago, CHBMB said:

The apps tab. And there will be something there to reinstall existing applications or something along those lines.

Sent from my Mi A1 using Tapatalk
 

Previous Apps

  • Author
3 minutes ago, CHBMB said:

The apps tab. And there will be something there to reinstall existing applications or something along those lines.

Sent from my Mi A1 using Tapatalk
 

Am I looking in the wrong place? :/

image.thumb.png.27f654dca0ef367f09d38608e74605df.png

  • Author
1 minute ago, Squid said:

Previous Apps

Ok, that's what I thought :) I had just hoped there was a "restore" button xD

  • Author

Thank you so much everyone, I got everything up and running again :)

  • 4 years later...

I also just got this Error because my System ran out of memory and from the logs i could tell that it killed the process with the highest memory consumption (dockerd).
What worked for me was just running

/etc/rc.d/rc.docker start

in the Terminal to start it up again. Will of course not work if the docker image is really corrupt, but might be worth a try in cases similar to mine.

  • 2 months later...
On 5/26/2023 at 6:43 AM, Stefan_H said:

I also just got this Error because my System ran out of memory and from the logs i could tell that it killed the process with the highest memory consumption (dockerd).
What worked for me was just running

/etc/rc.d/rc.docker start

in the Terminal to start it up again. Will of course not work if the docker image is really corrupt, but might be worth a try in cases similar to mine.

 

Thank you! This worked for me.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.