apptainer(1)

πŸ’… apptainer-capability-drop β€” the apptainer(1) glow-up

okay so bestie, welcome to the apptainer manual β€” specifically the apptainer-capability-drop page. this one's giving "root-only power move" energy and honestly? iconic. let's get into it πŸŽ€


✨ NAME ✨

apptainer-capability-drop β€” remove capabilities from a user or group (requires root)

like, you're literally taking away someone's superpowers. very main character. root required tho, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

apptainer capability drop [drop options...]

that's the whole vibe. short, sweet, slays.


🌸 DESCRIPTION 🌸

okay so here's the tea β˜• β€” this command removes Linux capabilities from a user/group.

⚠️ NOTE: this command requires root to run. like, actual root. no shortcuts, no "but my friend saidβ€”". root. periodt.

the capabilities argument must be separated by commas and is not case sensitive (so AUDIT_READ and audit_read are the same thing, we love a flexible queen πŸ’…).

wanna see what capabilities even exist before you start dropping them? type apptainer capability avail or refer to the capabilities manual: man 7 capabilities. iykyk 🧚


πŸ’– OPTIONS πŸ’–

  • -g, --group="" β€” manage capabilities for a group
  • -h, --help[=false] β€” help for drop (the "wait what does this do again" button 🫢)
  • -u, --user="" β€” manage capabilities for a user

notice the empty-string defaults on --group and --user? yeah, you gotta actually give them a value. no vibes-only input allowed πŸ™ˆ


⭐ EXAMPLE ⭐

here's how the cool kids do it:

$ sudo apptainer capability drop --user nobody AUDIT_READ,CHOWN
$ sudo apptainer capability drop --group nobody audit_write

see that comma in the first one? that's the whole "separated by commas" thing in action. and notice audit_write is lowercase in the second one β€” case insensitive, we been knew πŸ’œ

to drop all the capabilities for a user:

$ sudo apptainer capability drop --user nobody all

the all keyword. total removal. absolutely feral. 😭πŸ”₯


πŸŽ€ SEE ALSO πŸŽ€


🌈 HISTORY 🌈

22-Oct-2026 β€” auto generated by spf13/cobra


okay that's the whole page bestie, you're officially certified in capability-dropping πŸ’…βœ¨

auto generated by spf13/cobra β€” Oct 2026 β€” apptainer(1) πŸ¦‹

now go forth and sudo responsibly, mwah πŸ’–

πŸ“¦ where this page comes from
  • epel 9: apptainer 1.5.5-1.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-LBNL AND ISC AND MIT AND MPL-2.0 AND Unlicense
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms