The officially official Devuan Forum!

You are not logged in.

#1 Re: Other Issues » Docker: fsconfig fails and cgroup says unknown subsys » Yesterday 23:38:35

@yaser — regarding your original issue with fsconfig and cgroup errors on Devuan: the script uses overlay2 + cgroupfs in daemon.json, which avoids the cgroup v2 problems. Try the updated version below.                                                                                                                                                                                                                                           

@mark0x01 — thanks for the thorough bug report! Here's the breakdown:                                                                                                                                                                             

Root cause: Two bugs in the script:                                                                                                                                                                                                               

1. Init script (line 109) had /usr/bin/dockerd hardcoded, but on Devuan the binary is at /usr/sbin/dockerd (Debian Policy requires system daemons in sbin/; Docker Inc puts them in bin/).
2. Error message (line 5) said docker-full-install.sh instead of antix-docker-install.sh.                                                                                                                                                         

What changed:                                                                                                                                                                                                                                     
- The init script (/etc/init.d/docker) now auto-detects dockerd via command -v → /usr/bin/dockerd → /usr/sbin/dockerd. This detection runs after Docker is already installed (step 11 in the script), so if dockerd is missing at that point — something really went wrong during install, and exit 1 is intentional for fail-fast diagnostics.                                                                                         
- Main script also uses pkill -f dockerd (no hardcoded path) for pre-install cleanup.
- Error message corrected to antix-docker-install.sh.
- Removed docker-model-plugin from default install (bloat for low-resource distros).                                                                                                                                                             
                                                               
Updated script:

wget https://raw.githubusercontent.com/mr-ad … install.sh                                                                                                                                               

Now works on antiX, Devuan, MX Linux and any Debian fork with sysVinit.

Thanks again — both bugs fixed upstream!

     — mr-addams

Board footer

Forum Software