Docker engine on OpenWrt

I had the same issues with a snapshot pi build.... took a long time to figure out and dont know why.... but the fix for me was

Update cgroup startup - comment out section

vi /etc/init.d/cgroupfs-mount

#        if mountpoint -q /sys/fs/cgroup; then
#                umount /sys/fs/cgroup/
#        fi

update dockerd start order from 25 -> 60

vi /etc/init.d/dockerd

        START=60

Update startup to setup tmpfs

        mount -t tmpfs -o size=32k tmpfs /run

If no longer needed then great but if stuck, try the above....

2 Likes