Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 3.12 KB

runtainer_version.md

File metadata and controls

57 lines (46 loc) · 3.12 KB

runtainer version

Print the version

Synopsis

All software has versions, right?

runtainer version [flags]

Options

  -h, --help   help for version

Options inherited from parent commands

  -c, --config string               global config file (default is $HOME/.runtainer.yaml)
      --debug                       Enables info and debug logs to file
  -d, --dir string                  Use different folder to make a CWD in the container (default is the host CWD)
      --disable-discovery strings   Disable individual discovery mechanisms
      --dry-run                     Dry Run mode will not execute the container, only print to StdOut a pod spec it would have run.
  -e, --env strings                 Mapping for env, i.e. --env AWS_PROFILE or --env AWS_PROFILE=foo
  -i, --interactive                 Disable to not to attach to the container.
                                    	By default we wait till pod becomes Running and then - attaching to it.
                                    	If container expected to run a script in non-interactive mode and exit,
                                    	- the tool might try to attach to the container that is already finished and fail.
                                    	Disable interactive mode in this case - then it will not attempt to attach
                                    	and instead will just stream logs until containe becomes either Succeeded or Failed.
                                    	This automatically disables --stdin and --tty. (default true)
      --log                         Enables info logs to file
  -p, --port strings                Mapping for ports, i.e. --port 8080:8080
  -q, --quiet                       Enable quiet mode.
                                    	By default runtainer never prints to StdOut,
                                    	reserving that channel exclusively to the container.
                                    	But it does print messages to StdErr.
                                    	Enabling quiet mode will redirect all messages to the info logger.
                                    	If --log mode was not enabled - these messages will be discarded.
  -G, --run-as-current-group        Will set runAsGroup to the current host GID. Ignored if -U=false. If disabled - will set fsGroup to the current host GID instead. (default true)
  -U, --run-as-current-user         Will set runAsUser to the current host UID. (default true)
  -S, --secret string               Optionally, provide a name of the secret to be used for the image pull
      --secret-env strings          Mapping for env secrets, i.e. --secret-env foo secret-env bar
      --secret-volume strings       Mapping for env secrets, i.e. --secret-volume foo secret-volume bar
  -s, --stdin                       Redirect host StdIn to the container (default true)
  -t, --tty                         Enable TTY, disable if piping something to stdin (default true)
  -v, --volume strings              Mapping for volumes, i.e. --volume /data:/data

SEE ALSO

Auto generated by spf13/cobra on 12-Oct-2022