Re-pack of the fluent-bit container with dac-read permissions set on the image level.
- Dockerfile 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| komodo | ||
| Dockerfile | ||
| README.md | ||
| renovate.json | ||
Why this image exists - featuring Sonnet 5
Upstream fluent-bit can't read /var/lib/docker/containers/**/*.log as a
non-root user — those directories are root:root, and POSIX default ACLs
don't retroactively fix directories Docker already created, nor do they
survive Docker's own creation mode on new container directories.
Fix requires BOTH:
cap_add: [DAC_READ_SEARCH]in the compose file (puts the capability in the container's bounding set)setcap cap_dac_read_search+epon the fluent-bit binary itself (this image) — required because a non-root process doesn't inherit an added capability into its effective set without a file capability; ambient-set propagation for cap_add alone is unreliable here.
Either alone is not sufficient. Confirmed via /proc/<pid>/status → CapEff.