Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // main singularity command // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SingularityUse string = `singularity [global options...]` SingularityShort string = ` Linux container platform optimized for High Performance Computing (HPC) and Enterprise Performance Computing (EPC)` SingularityLong string = `` /* 309-byte string literal not displayed */ SingularityExample string = `` /* 157-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // build // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuildUse string = `build [local options...] <IMAGE PATH> <BUILD SPEC>` BuildShort string = `Build a new Singularity container` BuildLong string = `` /* 1322-byte string literal not displayed */ BuildExample string = `` /* 2651-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // keys // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KeysUse string = `keys` KeysShort string = `Manage OpenPGP key stores` KeysLong string = `` /* 289-byte string literal not displayed */ KeysExample string = ` All group commands have their own help output: $ singularity help keys newpair $ singularity keys list --help` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // keys newpair // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KeysNewPairUse string = `newpair` KeysNewPairShort string = `Create a new OpenPGP key pair` KeysNewPairLong string = `` /* 176-byte string literal not displayed */ KeysNewPairExample string = ` $ singularity keys newpair` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // keys list // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KeysListUse string = `list` KeysListShort string = `List keys from the default key store` KeysListLong string = `` /* 152-byte string literal not displayed */ KeysListExample string = ` $ singularity keys list` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // keys search // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KeysSearchUse string = `search [search options...] <search_string>` KeysSearchShort string = `Search for keys matching string argument` KeysSearchLong string = `` /* 148-byte string literal not displayed */ KeysSearchExample string = ` $ singularity keys search sylabs.io` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // keys pull // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KeysPullUse string = `pull [pull options...] <fingerprint>` KeysPullShort string = `Fetch an OpenPGP public key from a key server` KeysPullLong string = `` /* 161-byte string literal not displayed */ KeysPullExample string = ` $ singularity keys pull D87FE3AF5C1F063FCBCC9B02F812842B5EEE5934` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // keys push // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ KeysPushUse string = `push [push options...] <fingerprint>` KeysPushShort string = `Upload an OpenPGP public key to a key server` KeysPushLong string = ` The 'keys push' command allows you to connect to a key server and upload public keys from the local key store.` KeysPushExample string = ` $ singularity keys push D87FE3AF5C1F063FCBCC9B02F812842B5EEE5934` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // capability // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CapabilityUse string = `capability <subcommand>` CapabilityShort string = `Manage Linux capabilities on containers` CapabilityLong string = `` /* 141-byte string literal not displayed */ CapabilityExample string = ` All group commands have their own help output: $ singularity help capability add $ singularity capability add --help` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // capability add // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CapabilityAddUse string = `add [add options...] <capabilities>` CapabilityAddShort string = `Add authorized capabilities for a given user/group` CapabilityAddLong string = `` /* 1536-byte string literal not displayed */ CapabilityAddExample string = `` /* 265-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // capability drop // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CapabilityDropUse string = `drop [drop options...] <capabilities>` CapabilityDropShort string = `Drop authorized capabilities for a given user/group` CapabilityDropLong string = `` /* 1536-byte string literal not displayed */ CapabilityDropExample string = `` /* 265-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // capability list // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CapabilityListUse string = `list [list options...] <capabilities>` CapabilityListShort string = `List authorized capabilities for the given user/group.` CapabilityListLong string = ` The capability list command allows you to see what Linux capabilities are associated with users/groups.` CapabilityListExample string = `` /* 131-byte string literal not displayed */ ExecUse string = `exec [exec options...] <container> ...` ExecShort string = `Execute a command within container` ExecLong string = ` singularity exec supports the following formats:` + formats ExecExamples string = `` /* 306-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // instance // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ InstanceUse string = `instance <subcommand>` InstanceShort string = `Manage containers running in the background` InstanceLong string = `` /* 141-byte string literal not displayed */ InstanceExample string = ` All group commands have their own help output: $ singularity help instance start $ singularity instance start --help` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // instance list // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ InstanceListUse string = `list [list options...] <container>` InstanceListShort string = `List all running and named Singularity instances` InstanceListLong string = `` /* 131-byte string literal not displayed */ InstanceListExample string = `` /* 384-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // instance start // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ InstanceStartUse string = `start [start options...] <container path> <instance name>` InstanceStartShort string = `Start a named instance of the given container image` InstanceStartLong string = ` The instance start command allows you to create a new named instance from an existing container image that will begin running in the background. If a start.sh script is defined in the container metadata the commands in that script will be executed with the instance start command as well. singularity instance start accepts the following container formats` + formats InstanceStartExample string = `` /* 400-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // instance stop // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ InstanceStopUse string = `stop [stop options...] [instance]` InstanceStopShort string = `Stop a named instance of a given container image` InstanceStopLong string = `` /* 128-byte string literal not displayed */ InstanceStopExample string = `` /* 548-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // pull // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PullUse string = `pull [pull options...] <URI://>` PullShort string = `Pull a container from a URI` PullLong string = `` /* 225-byte string literal not displayed */ PullExample string = `` /* 152-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // push // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PushUse string = `push [push options...] <container image> [library://[user[collection/[container[:tag]]]]]` PushShort string = `Push a container to a Library URI` PushLong string = ` The Singularity push command allows you to upload your sif image to a library of your choosing` PushExample string = ` $ singularity push /home/user/my.sif library://user/collection/my.sif:latest` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // search // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SearchUse string = `search [search options...] <search query>` SearchShort string = `Search the library` SearchLong string = `` /* 300-byte string literal not displayed */ SearchExample string = ` $ singularity search lolcow` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // run // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RunUse string = `run [run options...] <container>` RunShort string = `Launch a runscript within container` RunLong string = ` This command will launch a Singularity container and execute a runscript if one is defined for that container. The runscript is a metadata file within the container that containes shell commands. If the file is present (and executable) then this command will execute that file within the container automatically. All arguments following the container name will be passed directly to the runscript. singularity run accepts the following container formats:` + formats RunExamples string = `` /* 352-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // shell // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ShellUse string = `shell [shell options...] <container>` ShellShort string = `Run a Bourne shell within container` ShellLong string = ` singularity shell supports the following formats:` + formats ShellExamples string = `` /* 830-byte string literal not displayed */ // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // sign // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SignUse string = `sign [sign options...] <image path>` SignShort string = `Attach cryptographic signatures to container` SignLong string = `` /* 313-byte string literal not displayed */ SignExample string = ` $ singularity sign container.sif` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // verify // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VerifyUse string = `verify [verify options...] <image path>` VerifyShort string = `Verify cryptographic signatures on container` VerifyLong string = `` /* 431-byte string literal not displayed */ VerifyExample string = ` $ singularity verify container.sif` // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Run-help // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RunHelpUse string = `run-help <image path>` RunHelpShort string = `Display help for container if available` RunHelpLong string = ` show additional help for a container if available singularity run-help <path to image> ` RunHelpExample string = `` /* 327-byte string literal not displayed */ )
Global content for help and man pages
View Source
const ( HelpTemplate string = `` /* 593-byte string literal not displayed */ UseTemplate string = `` /* 231-byte string literal not displayed */ )
Global templates for help and usage strings
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.