collabnix / collabnix/dockerlabs

docs: Capabilities page - Images can store file-based capabilities

Open
#536 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
8k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

https://dockerlabs.collabnix.com/advanced/security/capabilities/

https://github.com/collabnix/dockerlabs/blob/962fab827c2fb7b8b6149f3d3241cddde0479353/advanced/security/capabilities/README.md?plain=1#L37

https://github.com/collabnix/dockerlabs/blob/962fab827c2fb7b8b6149f3d3241cddde0479353/advanced/security/capabilities/README.md?plain=1#L281

These are inaccurate. The limitation was removed with BuildKit / buildx IIRC which has been the default image builder since Docker 23 (released Feb 2023), which can preserve extended file attributes.

I believe the main issue prior was that you'd lose the extended attributes via a COPY but they would otherwise remain intact so long as the image layer was on a file system that supported the file attributes? (I recall an issue with AUFS, which may still be problematic for some NAS systems)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open advanced/security/capabilities/README.md and inspect the statements at lines 37 and 281, along with the linked Capabilities page. Verify the current BuildKit/buildx behavior around file-based capabilities, COPY, extended attributes, and filesystem limitations. Done means the inaccurate limitations are corrected consistently in the README and rendered documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.