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 unavailable after S3 sleep

Featured Replies

Sometimes this happens and a reboot will fix it. But I use S3 a lot and would like to attempt to kickstart the service.

 

It's not a particular docker container, it's the docker service.

 

How would one go about starting the service from the command line or otherwise.

 

Thanks in advance for your service.

  • Community Expert

...
unraid runs ontop of slackware linux...

On Unraid (Slackware Linux base), services are managed by system intvars.... they are found in the "/etc/rc.d/" onthe system... here you will find  rc.* scripts directly.

Since /etc/rc.d/rc.docker exisit we can leverage this to status, start, stop restart....

Since  this is the service script for Docker on unraid...

Example by calling it directly:

Quote

root@Docker:/etc/rc.d# /etc/rc.d/rc.docker status
Docker daemon is currently running.
root@Docker:/etc/rc.d# 

 

since unraid is an applciace nas application. I dont' recmoned trying to edit conf files or the script... that can get into advance linux stuff... and due to brzroot and unraid mutable flash load. changes don't surive a reboot. unraid linux os is entirely in ram...

sleep gets wonky and weird...

You would want to run the stop service command before sleep...
 

/etc/rc.d/rc.docker stop

--this can cause docker coruption...

 

and when its not idle and doing task and awake...
 

/etc/rc.d/rc.docker start

and

docker ps

to check running dockers...

 

here a generic script...
 

#!/bin/bash
# restart-docker.sh

# Stop Docker
/etc/rc.d/rc.docker stop

# Wait a few seconds to be safe
sleep 5

# Start Docker
/etc/rc.d/rc.docker start

 

  • Author

Thank you very much!

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.