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

Featured Replies

When I try to start the Docker service I receive the following error:

Docker Service failed to start.

 

I noticed the docker.img file size is 2.15TB. I believe the docker.img is corrupt somehow. Therefore, I tried to delete the docker.img but the file will not get deleted.

 

Any help to restore my docker is appreciated.

 

The following snippet from the sys.log might be helpful.

 

Dec  5 22:21:32 emhttpd: shcmd (201): /usr/local/sbin/mount_image '/mnt/cache/system/docker/docker.img' /var/lib/docker 25
Dec  5 22:21:32 root: truncate: cannot open '/mnt/cache/system/docker/docker.img' for writing: Read-only file system
Dec  5 22:21:32 kernel: loop2: detected capacity change from 0 to 4194304000
Dec  5 22:21:32 kernel: BTRFS: device fsid b1587620-9193-4f4a-99ca-589fb7737f60 devid 1 transid 4014766 /dev/loop2 scanned by mount (30777)
Dec  5 22:21:32 kernel: BTRFS info (device loop2): using crc32c (crc32c-intel) checksum algorithm
Dec  5 22:21:32 kernel: BTRFS info (device loop2): using free space tree
Dec  5 22:21:32 kernel: BTRFS info (device loop2): bdev /dev/loop2 errs: wr 953, rd 0, flush 0, corrupt 0, gen 0
Dec  5 22:21:32 kernel: BTRFS info (device loop2): enabling ssd optimizations
Dec  5 22:21:32 root: ERROR: unable to resize '/var/lib/docker': Read-only file system
Dec  5 22:21:32 root: Resize device id 1 (/dev/loop2) from 1.95TiB to max
Dec  5 22:21:32 emhttpd: shcmd (203): /etc/rc.d/rc.docker start
Dec  5 22:21:32 root: starting dockerd ...

Solved by JorgeB

  • Author

Please see attached diagnostics.

 

Edited by clockwork-wizard

  • Community Expert
  • Solution
Dec  6 20:50:06 TWWServer kernel: BTRFS info (device dm-5): bdev /dev/mapper/sdc1 errs: wr 0, rd 0, flush 0, corrupt 24, gen 0
Dec  6 20:50:06 TWWServer kernel: BTRFS info (device dm-5): bdev /dev/mapper/sdd1 errs: wr 0, rd 0, flush 0, corrupt 24, gen 0

 

Btrfs is detecting data corruption on both devices, start by running memtest, after that suggest backing up what you can from the pool and re-formatting, docker image will also need to be recreated.

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.