Opening a Shell
Ctrl+D or type exit to disconnect.
Choosing a Shell
/bin/bash.
What Works
The PTY supports everything you’d expect from a real terminal:- Editors: vim, nano
- Monitors: top, htop
- Tab completion and command history
- Colors and ANSI escape codes
- Terminal resizing — automatic, resize events forwarded
tmux and less work correctly.
Shell vs Exec
| Use Case | Command |
|---|---|
| Run a single command, capture output | oc exec --wait |
| Scripting and automation | oc exec --wait --json |
| Interactive development | oc shell |
| Debugging | oc shell |