I have currently only tested this with build 487, latest snapshot as of the day of writing.
running docker-ce currently causes this error:
linaro@linaro-gnome:~$ sudo docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
256ab8fe8778: Pull complete
Digest: sha256:f2266cbfc127c960fd30e76b7c792dc23b588c0db76233517e1891a4e357d519
Status: Downloaded newer image for hello-world:latest
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: process_linux.go:458: setting cgroup config for procHooks process caused: can't load program: function not implemented: unknown.
ERRO[0006] error waiting for container: context canceled
the solution for the time being is to add systemd.unified_cgroup_hierarchy=0
to the kernel cmdline and can be achieved by modifying the boot image with abootimg
and reflashing.
$ abootimg -u boot-linaro-sid-dragonboard-845c-487.img -c "cmdline = root=PARTLABEL=rootfs console=tty0 console=ttyMSM0,115200n8 clk_ignore_unused pd_ignore_unused systemd.unified_cgroup_hierarchy=0"
reading config args
Writing Boot Image boot-linaro-sid-dragonboard-845c-487.img
I haven’t looked at what changed between 5.2 and 5.10 images but just posing the solution here.
I’m wondering if we can have prebuilt images with this workaround till we find a fix?