Get a bash session inside a running job
This command is a shortcut to runai exec (runai exec -it <job-name> bash). See https://support.run.ai/hc/en-us/articles/360011544099-runai-bash for full documentation of the exec command.
runai bash <job-name>
[--backward-compatibility | -b]
[--project <string> | -p <string>]
[--help | -h]
--backward-compatibility | -b
Backward compatibility mode to provide support for Jobs created with older versions of the CLI. See here for further information
Set the logging level. One of: debug|info|warn|error (default "info")
--project | -p (string)
Specify the project to which the command applies. By default, commands apply to the default project. To change the default project use 'runai project set <project name>'.
--help | -h
Show help text
The command will access the container that should be currently running in the current cluster and attempt to create a command line shell based on bash.
The command will return an error if the container does not exist or has not been in running state yet.