apptainer(1)

πŸ’– apptainer(1) β€” the apptainer-config-global page πŸ’–

🌸 NAME 🌸

apptainer-config-global β€” Edit apptainer.conf from command line (root user only or unprivileged installation).


πŸ¦‹ SYNOPSIS πŸ¦‹

apptainer config global   [value,...]

✨ DESCRIPTION ✨

okay so the config global command is literally the admin-coded one: it lets administrators set/unset/get/reset configuration directives of apptainer.conf straight from the command line. it’s giving β€œI manage this installation” energy, and honestly? slay.


πŸ’… OPTIONS πŸ’…

here’s the whole flag squad, bestie β€” no skips, no cap:

  • -d, --dry-run[=false] β€” dumps the resulting configuration on stdout but doesn’t write it to apptainer.conf.
  • -g, --get[=false] β€” gets the value of the configuration directive.
  • -h, --help[=false] β€” shows help for global.
  • -r, --reset[=false] β€” resets the configuration directive value to its default value.
  • -s, --set[=false] β€” sets the value of the configuration directive (for multi-value directives, it will add it).
  • -u, --unset[=false] β€” unsets the value of the configuration directive (for multi-value directives, it will remove matching values).

πŸ”₯ EXAMPLE πŸ”₯

copy-paste era, bestie:

  1. To add a path to "bind path" directive:
$ apptainer config global --set "bind path" /etc/resolv.conf
  1. To remove a path from "bind path" directive:
$ apptainer config global --unset "bind path" /etc/resolv.conf
  1. To set "bind path" to the default value:
$ apptainer config global --reset "bind path"
  1. To get "bind path" directive value:
$ apptainer config global --get "bind path"
  1. To display the resulting configuration instead of writing it to file:
$ apptainer config global --dry-run --set "bind path" /etc/resolv.conf

🫢 SEE ALSO 🫢

apptainer-config(1) β€” that’s the whole see-also, and it’s iconic for it.


🌈 HISTORY 🌈

22-Oct-2026 β€” Auto generated by spf13/cobra. the lore is right there, periodt.


πŸ’– that’s the wrap, bestie β€” Auto generated by spf13/cobra, Oct 2026, apptainer(1) πŸ’–

πŸ“¦ 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