logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

singularity-config-global - Edit singularity.conf from command line (root user only or unprivileged

Description

       The config global command allow administrators to set/unset/get/reset configuration
         directives of singularity.conf from command line.

Example

         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

History

       27-Feb-2025 Auto generated by spf13/cobra

Auto generated by spf13/cobra                       Feb 2025                                      singularity(1)

Name

       singularity-config-global  -  Edit  singularity.conf  from  command  line (root user only or unprivileged
       installation)

Options

-d,  --dry-run[=false]       dump  resulting  configuration  on  stdout   but   doesn't   write   it   to
       singularity.conf

       -g, --get[=false]      get value of the configuration directive

       -h, --help[=false]      help for global

       -r, --reset[=false]      reset the configuration directive value to its default value

       -s,  --set[=false]      set value of the configuration directive (for multi-value directives, it will add
       it)

       -u, --unset[=false]      unset value of the configuration directive (for multi-value directives, it  will
       remove matching values)

See Also

singularity-config(1)

Synopsis

singularityconfigglobal[value,...]

See Also