.nh .TH "singularity" "1" "Feb 2022" "Auto generated by spf13/cobra" "" .SH NAME .PP singularity-config-global - Edit singularity.conf from command line (root user only or unprivileged installation) .SH SYNOPSIS .PP \fBsingularity config global [value,...]\fP .SH DESCRIPTION .PP The config global command allow administrators to set/unset/get/reset configuration directives of singularity.conf from command line. .SH OPTIONS .PP \fB-d\fP, \fB--dry-run\fP[=false] dump resulting configuration on stdout but doesn't write it to singularity.conf .PP \fB-g\fP, \fB--get\fP[=false] get value of the configuration directive .PP \fB-h\fP, \fB--help\fP[=false] help for global .PP \fB-r\fP, \fB--reset\fP[=false] reset the configuration directive value to its default value .PP \fB-s\fP, \fB--set\fP[=false] set value of the configuration directive (for multi-value directives, it will add it) .PP \fB-u\fP, \fB--unset\fP[=false] unset value of the configuration directive (for multi-value directives, it will remove matching values) .SH EXAMPLE .PP .RS .nf To add a path to "bind path" directive: $ singularity config global --set "bind path" /etc/resolv.conf To remove a path from "bind path" directive: $ singularity config global --unset "bind path" /etc/resolv.conf To set "bind path" to the default value: $ singularity config global --reset "bind path" To get "bind path" directive value: $ singularity config global --get "bind path" To display the resulting configuration instead of writing it to file: $ singularity config global --dry-run --set "bind path" /etc/resolv.conf .fi .RE .SH SEE ALSO .PP \fBsingularity-config(1)\fP .SH HISTORY .PP 20-Feb-2022 Auto generated by spf13/cobra