Diagnostic step 1
Inspect the runner systemd unit: sudo systemctl cat actions.runner.<name>.service and look for User=, Group=, SupplementaryGroups= and PrivateTmp/ProtectSystem/PrivateDevices flags.
Generated Oct 20, 2026, 9:41:02 AM
Inspect the runner systemd unit: sudo systemctl cat actions.runner.<name>.service and look for User=, Group=, SupplementaryGroups= and PrivateTmp/ProtectSystem/PrivateDevices flags.
If intended: add Group=docker (or SupplementaryGroups=docker) to the unit and avoid chmodding the socket. Example: set Group=docker and restart systemd daemon: sudo systemctl daemon-reload; sudo systemctl restart actions.runner.<name>.service.
If unit must retain a non-privileged group, create a minimal wrapper unit that binds the socket into the runner's namespace with a safe bind-mount: use Systemd Mount unit or ProtectedBindPaths carefully; prefer Group= approach.
If ProtectSystem/PrivateDevices present, temporarily disable those to verify effect and re-enable with adjusted settings; do not leave diminished hardening in production.
Verify by running: sudo -u ci-runner docker ps (or reproduce a workflow job) and confirm no permission errors in journalctl -u actions.runner.<name>.service. Rollback: revert Group= changes and service files if unexpected behavior appears.