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

NAME

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

SYNOPSIS

12       singularity config global <option> <directive> [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]
25           dump resulting configuration on stdout but doesn't write it to
26       singularity.conf
27
28
29       -g, --get[=false]
30           get value of the configuration directive
31
32
33       -h, --help[=false]
34           help for global
35
36
37       -r, --reset[=false]
38           reset the configuration directive value to its default value
39
40
41       -s, --set[=false]
42           set value of the configuration directive (for multi-value
43       directives, it will add it)
44
45
46       -u, --unset[=false]
47           unset value of the configuration directive (for multi-value
48       directives, it will remove matching values)
49
50
51

EXAMPLE

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

SEE ALSO

72       singularity-config(1)
73
74
75

HISTORY

77       18-Feb-2020 Auto generated by spf13/cobra
78
79
80
81Auto generated by spf13/cobra      Feb 2020                     singularity(1)
Impressum