A dependency job for docker.service failed. See ‘journalctl -xe’ for details.
journalctl -xe
…
Nov 17 10:18:07 osmc modprobe[17551]: modprobe: FATAL: Module overlay not found in directory /lib/modules/3.14.29-126-osmc
…
So kernel 3.14.29-126-osmc which I assume shipped with OSMC 2018.10-1 is really missing the overlay module? Anything I can do on my end to make docker work again or do I have to wait for osmc devs to provide the overlay module for the current kernel?
Thanks for your feedback Tom.
I’ll dig into the docker configuration as you suggest and obviously report my findings if any.
But it’s gonna take some time since I’m no expert and have to read / understand some doc first.
1/ My system doesn’t have any /etc/docker/daemon.json
Maybe it is normal, I don’t know. But that gives me not much to work with…
2/ Surprisingly, starting dockerd manually actually works (i.e dockerd --debug) and I can indeed run all my containers just fine.
So at least, that is a decent workaround for me now.
So the problem might not be docker-ce but maybe related to systemd somehow. I was hoping to find a /etc/systemd/system/docker.service.d directory but that’s not the case.
Seems to be and issue with the latest docker. I just installed docker and it wouldn’t start, same issue as reported by yourself.
I Removed ExecStartPre=/sbin/modprobe overlay from containerd.service and sudo systemctl daemon-reload. Then rebooted (just restarting the services didn’t help, I’m guessing there is an order.)
Just a FYI. overlayfs is available in the Pi build of OSMC, though not on the Vero4K/+
osmc@osmc:~$ modinfo overlay
filename: /lib/modules/4.14.78-2-osmc/kernel/fs/overlayfs/overlay.ko
alias: fs-overlay
license: GPL
description: Overlay filesystem
author: Miklos Szeredi <miklos@szeredi.hu>
srcversion: 8BB6A167AD7727D1C2B1A3C
depends:
intree: Y
name: overlay
vermagic: 4.14.78-2-osmc SMP preempt mod_unload modversions ARMv7 p2v8
parm: check_copy_up:bool
parm: ovl_check_copy_up:Warn on copy-up when causing process also has a R/O fd open
parm: redirect_max:ushort
parm: ovl_redirect_max:Maximum length of absolute redirect xattr value
parm: redirect_dir:bool
parm: ovl_redirect_dir_def:Default to on or off for the redirect_dir feature
parm: index:bool
parm: ovl_index_def:Default to on or off for the inodes index feature