1singularity(1)                                                  singularity(1)
2
3
4

NAME

6       singularity-config-global  -  Edit  singularity.conf  from command line
7       (root user only or unprivileged installation)
8
9
10

SYNOPSIS

12       singularity config global   [value,...]
13
14
15

DESCRIPTION

17       The config global command allow administrators  to  set/unset/get/reset
18       configuration
19         directives of singularity.conf from command line.
20
21
22

OPTIONS

24       -d,  --dry-run[=false]       dump resulting configuration on stdout but
25       doesn't write it to singularity.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

EXAMPLE

48                To add a path to "bind path" directive:
49                $ singularity config global --set "bind path" /etc/resolv.conf
50
51                To remove a path from "bind path" directive:
52                $ singularity config global --unset "bind path" /etc/resolv.conf
53
54                To set "bind path" to the default value:
55                $ singularity config global --reset "bind path"
56
57                To get "bind path" directive value:
58                $ singularity config global --get "bind path"
59
60                To display the resulting configuration instead of writing it to file:
61                $ singularity config global --dry-run --set "bind path" /etc/resolv.conf
62
63
64
65

SEE ALSO

67       singularity-config(1)
68
69
70

HISTORY

72       22-Jun-2022 Auto generated by spf13/cobra
73
74
75
76Auto generated by spf13/cobra      Jun 2022                     singularity(1)
Impressum