Docker Service failed to start


Recommended Posts

The image is messed up.  This is what you're going to have to do

 

  1. On the flash drive, edit the file called config/docker.cfg   Change DOCKER_ENABLED from "yes" to be "no"
  2. Restart the system.
  3. Once its back up, go to Settings, Docker, advanced view and then delete the image
  4. Re-enable Docker
  5. Go to Apps, Previous Apps, check off what you want, and you'll be back in business in a couple of minutes.

 

If that doesn't get you anywhere, then I'd say it's some sort of corruption on the cache drive preventing the image from forming correctly (I'm not a big fan of BTRFS for cache drives unless you are planning on running a cache pool - XFS anecdotally causes people far less problems

Edited by Squid
  • Like 1
Link to comment
On 6/29/2018 at 10:51 PM, Squid said:

The image is messed up.  This is what you're going to have to do

 

  1. On the flash drive, edit the file called config/docker.cfg   Change DOCKER_ENABLED from "yes" to be "no"
  2. Restart the system.
  3. Once its back up, go to Settings, Docker, advanced view and then delete the image
  4. Re-enable Docker
  5. Go to Apps, Previous Apps, check off what you want, and you'll be back in business in a couple of minutes.

 

If that doesn't get you anywhere, then I'd say it's some sort of corruption on the cache drive preventing the image from forming correctly (I'm not a big fan of BTRFS for cache drives unless you are planning on running a cache pool - XFS anecdotally causes people far less problems

 

That sorted it thanks.

Link to comment

Same thing has happened to me, I'm in the process of taking the above steps but I thought I'd submit my diagnostics as well in case it becomes a bigger issue for everyone.

 

EDIT: followed the steps, but no luck for me unfourtunatley, I'm still getting the same BTRFS error

 

Quote

Jul 4 21:18:39 trustno1 kernel: BTRFS error (device loop3): bad tree block start 0 50819923968
Jul 4 21:18:39 trustno1 kernel: BTRFS error (device loop3): bad tree block start 0 50819923968
Jul 4 21:18:39 trustno1 root: mount: /var/lib/docker: wrong fs type, bad option, bad superblock on /dev/loop3, missing codepage or helper program, or other error.

 

Any ideas? Any help is much appreciated.

 

trustno1-diagnostics-20180704-2110.zip

Edited by docbrown
Link to comment
8 minutes ago, johnnie.black said:

You don't need to reformat, just delete and recreate the docker image.

 

Sorry as I mentioned above in an edit I followed all the steps, one of which was deleting the image and then I still got the quoted error in red. 

Link to comment
1 minute ago, docbrown said:

 

Sorry as I mentioned above in an edit I followed all the steps, one of which was deleting the image and then I still got the quoted error in red. 

Thta's weird, don't know if reformatting will help with that, but you can try, as for btrfs or xfs if it's single device and you don't care for checksums and snapshots you can use xfs which is usually more resilient than btrfs and more easily fixable when there is corruption.

Link to comment
2 minutes ago, johnnie.black said:

Thta's weird, don't know if reformatting will help with that, but you can try, as for btrfs or xfs if it's single device and you don't care for checksums and snapshots you can use xfs which is usually more resilient than btrfs and more easily fixable when there is corruption.

 

Thanks, I’ll give it another shot deleting it tonight if that doesn’t work I’ll then reformat. 

Link to comment
53 minutes ago, docbrown said:

 

Thanks, I’ll give it another shot deleting it tonight if that doesn’t work I’ll then reformat. 

Yes, make sure it really was deleted since it wasn't on the diags you posted, unless you rebooted after doing it, and there are no apparent issues with the cache filesystem.

  • Like 1
Link to comment
6 hours ago, johnnie.black said:

Yes, make sure it really was deleted since it wasn't on the diags you posted, unless you rebooted after doing it, and there are no apparent issues with the cache filesystem.

 

Thanks for your help, I went through the steps again and this time it worked. Not sure what I did wrong the first time. Thanks again.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.