docker images pull but fail to start (oneplus)
This was last validated with the nightly image from 20210613.
It appears to be a combination of docker/runc/kernel/systemd versions:
$ sudo docker run hello-world
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: process_linux.go:508: setting cgroup config for procHooks process caused: load program: invalid argument: unknown.
ERRO[0000] error waiting for container: context canceled
and could be worked-around by updating https://gitlab.com/mobian1/mobian-recipes/-/blob/master/devices/sdm845/bootloader.sh#L43 as per https://github.com/opencontainers/runc/issues/2959#issuecomment-847918170
or solved by building the kernel with https://github.com/opencontainers/runc/issues/2959#issuecomment-847519635 (I've been able to validate this with https://gitlab.com/ubports/community-ports/android9/oneplus-6/kernel-oneplus-sdm845 but not yet with https://gitlab.com/mobian1/devices/sdm845-linux)
I've captured the issue in this repo since the workaround is less effort to achieve, while also noting the https://gitlab.com/mobian1/mobian-recipes/-/blob/master/devices/sdm845/extract-rootfs.sh#L31 step fails when using docker, since img2simg
doesn't appear to be in the image used at https://gitlab.com/mobian1/mobian-recipes/-/blob/master/build.sh#L107