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 failed to start.

Featured Replies

none of my dockers are working. it wasn't working 2 updates ago. i thought the update would fix it. i also had a fatality disk and i fixed that. i've been trying everything . here are my diagnostics. please help with anything you can. 

 

thank you

tower-diagnostics-20181015-1807.zip

  • Replies 79
  • Views 89.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I had this happen to me today. It was a corrupt docker.img deleted it and recreated my templates and all is good.

  • cableshark
    cableshark

    Ok   My issue got resolved,   by increasing Docker Virtual disk image size from 20 to 30GB   Settings "Docker" ---    "Enable Docker :  click no,   and Apply setting

  • You should really post the entire diagnostics zip file, but it appears that the image is 100% full Feb 17 21:32:02 UnRaid kernel: blk_update_request: critical space allocation error, dev loop2, sec

Posted Images

  • Community Expert

Looks like you have a corrupt docker image. Delete and recreate docker image and post new diagnostics.

 

Then you can add your dockers back using the Previous Apps feature in Apps.

 

Possibly you have some misconfigured docker application filling docker image up.

 

Why do you have a parity2 disk but no parity?

my parity one kept being fatality. so i cleared it and moved it to parity 2. how do i do what your telling me? and will i lose my data. like my plex data?

thank you for the quick response 

 

  • Community Expert

Moving the parity disk to parity2 isn't the solution to whatever problem you were having but since you didn't let us help you with it at the time just leave it for now.

 

Assuming you have configured your dockers with appdata in the normal way then your plex data, etc. will still be there. The only thing that should be in docker image is the container applications themselves. Their working storage should be in appdata and any other data they read/write should be in Unraid storage according to whatever volume mappings you have defined in each container.

 

so what should j be deleting. can i do this in windows file viewer?

your right i should have asked for help. the solution i have probably isn't permanent.

i have my plex data saved in an unmounted ssd. ill just set up plex to look for the data there?

 

so what should i be deleting. can i do this in windows file viewer? how do i do this?

your right i should have asked for help. the solution i have probably isn't permanent.

i have my plex data saved in an unmounted ssd. ill just set up plex to look for the data there?

 

  • Community Expert
On 10/15/2018 at 9:29 PM, trurl said:

Delete and recreate docker image and post new diagnostics.

Go to Settings - Docker and disable the Docker Service. Then it will let you delete the docker image and recreate it.

 

On 10/15/2018 at 9:29 PM, trurl said:

Then you can add your dockers back using the Previous Apps feature in Apps.

Then go to Apps - Previous Apps and it will let you install any and all of your previous dockers with their previous settings, exactly as they were before so there is no need to set them up again. They should just pick up where they were.

 

On 10/15/2018 at 9:29 PM, trurl said:

Possibly you have some misconfigured docker application filling docker image up.

This is caused by having a container application writing to a path that is not mapped. Common mistakes are not using the same upper/lower case, or using a path that doesn't start with /

where do i go to delete the docker image 

  • Community Expert
9 hours ago, jjdemello123 said:

where do i go to delete the docker image 

You delete and recreate the image on the Settings - Docker page after you disable it.

  • 5 months later...
  • Author
On 1/16/2018 at 12:26 PM, gergtreble said:

I had this happen to me today. It was a corrupt docker.img deleted it and recreated my templates and all is good.

This happened again and deleting the docker fixed the issues..   

  • 2 years later...

Finding this post was exactly what I needed!  Thank you all for the replies and I am running the latest version of UNRAID and just had the exact thing happen to me with Docker.  I will try the suggested items in this post when I get home this evening.  

On 2/17/2022 at 8:06 AM, jeepjester97 said:

Finding this post was exactly what I needed!  Thank you all for the replies and I am running the latest version of UNRAID and just had the exact thing happen to me with Docker.  I will try the suggested items in this post when I get home this evening.  

Ok so I followed the process within this thread and it worked temporarily. Docker did start and I was able to restore a few of my containers from backup ;Plex, and a few others. However, after I tested them I could not access them again after closing the browser. I rebooted the system and again Docker failed to start.  If anyone could assist on this is would be awesome.  I will have to post my Logs later in the day as I am at work and do not have access to the server. 

36 minutes ago, jeepjester97 said:

I will have to post my Logs later in the day as I am at work and do not have access to the server

Yup, nothing can be done until the diagnostics are posted.

29 minutes ago, Squid said:

Yup, nothing can be done until the diagnostics are posted.

Yeah, Sorry.  I'll get to that ASAP.

 

You should really post the entire diagnostics zip file, but it appears that the image is 100% full

Feb 17 21:32:02 UnRaid kernel: blk_update_request: critical space allocation error, dev loop2, sector 75776 op 0x1:(WRITE) flags 0x1800 phys_seg 17 prio class 0

The solution is to delete the image and recreate it https://forums.unraid.net/topic/57181-docker-faq/#comment-564309

 

The usual cause of this is improper configuration of the various apps you might have (notably download clients) storing information directly within the docker.img  Multiple entries in the FAQ about the docker image filling up due to configuration issues

OK, I kinda configured the defaults on almost everything. Before I get this all set back up I will do some more reading.  Also - I should not?  Or should have posted the diagnostics file?

 

  • Community Expert
2 hours ago, jeepjester97 said:

posted the diagnostics file?

Would give us a lot more to make recommendations on.

I just noticed that I ended up sending the LOG file and not the Diag. It has been a long week for me and having this docker thing just has added to it.

 

unraid-diagnostics-20220219-0310.zip

So, here's the problem I am running into.  I have done the removal of the image and configured it to your suggested specs. Then proceed to the previous apps and attempt to install and I get an error. 

 

[root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='qbittorrentvpn' --net='bridge' --privileged=true -e TZ="America/New_York" -e HOST_OS="Unraid" -e HOST_HOSTNAME="UnRaid" -e HOST_CONTAINERNAME="qbittorrentvpn" -e 'VPN_ENABLED'='yes' -e 'VPN_TYPE'='openvpn' -e 'VPN_USERNAME'='*********' -e 'VPN_PASSWORD'='*********' -e 'LAN_NETWORK'='192.168.***.0/24' -e 'PUID'='99' -e 'PGID'='100' -e 'ENABLE_SSL'='no' -e 'NAME_SERVERS'='1.1.1.1,1.0.0.1' -e 'UMASK'='002' -e 'HEALTH_CHECK_HOST'='one.one.one.one' -e 'HEALTH_CHECK_INTERVAL'='300' -e 'HEALTH_CHECK_SILENT'='1' -e 'INSTALL_PYTHON3'='no' -e 'ADDITIONAL_PORTS'='' -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='https://[IP]:[PORT:8080]/' -l net.unraid.docker.icon='https://raw.githubusercontent.com/DyonR/docker-templates/master/Icons/qbittorrentvpn/qbittorrent-icon-256.png' -p '8080:8080/tcp' -p '8999:8999/tcp' -p '8999:8999/udp' -v '/mnt/user/Downloads/':'/downloads':'rw' -v '/mnt/cache/appdata/qbittorrentvpn/':'/config':'rw' --restart unless-stopped 'dyonr/qbittorrentvpn'

Unable to find image 'dyonr/qbittorrentvpn:latest' locally
docker: Error response from daemon: error creating temporary lease: write /var/lib/docker/containerd/daemon/io.containerd.metadata.v1.bolt/meta.db: read-only file system: unknown.
See 'docker run --help'.

On all the apps I had installed.  So I figured I'd just go remove them all from the full cache drive manually but it's saying I do not have permissions to do so I need "permission from UNRAID/"nobody".  I have attached the latest Log from today.

 

 

unraid-diagnostics-20220219-0910.zip

Your cache drive is completely full inhibiting the creation and utilization of the files.

 

There doesn't appear to be any problems in the configuration, so something is very bloated on the drive.  EG: You're not running any VMs, but have you in the past and not deleted the vdisks?

I attempted to run a few VMs in the past but never did anything with them and removed everything. I am using a Win machine to access the file shares and have looked at the data in the "appdata" location.  It's Qbit that caused the build up, all the downloaded files over the past year have filled the drive [due to my incompetence in config] and now without permission to remove the files I'm kinda in a rock and a hard place.  Is there a command or config you would suggest I use to clear that "downloads" folder?  I'll just rebuild it. [Correctly this time]  and thank you for your expertise and assistance.

 

Best option right now is to specify explicit permissions for the folder involved

 

chmod 0777 -R /mnt/user/appdata/qbit/downloads

You'll have to adjust the path accordingly.

 

Do not simply specify /mnt/user/appdata.  Odds are good that you'll impact the ability of the various apps to start back up again with the same appdata

image.png.41515d9150d1afffb88d2db871bb0e54.png

This is where I messed up.  these settings were set to go the the /config/qbit/downloads  This is what was filling up my downloads folder in the cache.  Made these changes and all seems to be running WAY better, with only 50% of the cache drive pool being utilized. Thank you again for your help on this.

 

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.