1apptainer(1) apptainer(1)
2
3
4
6 apptainer-config-global - Edit apptainer.conf from command line (root
7 user only or unprivileged installation)
8
9
10
12 apptainer config global [value,...]
13
14
15
17 The config global command allow administrators to set/unset/get/reset
18 configuration
19 directives of apptainer.conf from command line.
20
21
22
24 -d, --dry-run[=false] dump resulting configuration on stdout but
25 doesn't write it to apptainer.conf
26
27
28 -g, --get[=false] get value of the configuration directive
29
30
31 -h, --help[=false] help for global
32
33
34 -r, --reset[=false] reset the configuration directive value to its
35 default value
36
37
38 -s, --set[=false] set value of the configuration directive (for
39 multi-value directives, it will add it)
40
41
42 -u, --unset[=false] unset value of the configuration directive
43 (for multi-value directives, it will remove matching values)
44
45
46
48 To add a path to "bind path" directive:
49 $ apptainer config global --set "bind path" /etc/resolv.conf
50
51 To remove a path from "bind path" directive:
52 $ apptainer config global --unset "bind path" /etc/resolv.conf
53
54 To set "bind path" to the default value:
55 $ apptainer config global --reset "bind path"
56
57 To get "bind path" directive value:
58 $ apptainer config global --get "bind path"
59
60 To display the resulting configuration instead of writing it to file:
61 $ apptainer config global --dry-run --set "bind path" /etc/resolv.conf
62
63
64
65
67 apptainer-config(1)
68
69
70
72 29-Mar-2023 Auto generated by spf13/cobra
73
74
75
76Auto generated by spf13/cobra Mar 2023 apptainer(1)