Single command execution in a running container with D-Bus notification. MUST be invoked before any work involving: ov cmd command, running commands in containers, or container exec with notifications.
Runs a single command inside a running container via <engine> exec and sends a D-Bus desktop notification when the command completes. Useful for one-off commands without opening an interactive shell.
| Action | Command | Description |
|---|---|---|
| Run command | ov cmd <image> "command" | Execute command in running container |
| With instance | ov cmd <image> "command" -i 2 | Target specific instance |
| With env vars | ov cmd <image> "command" -e KEY=VALUE | Pass environment variables |
# Run a command in a running container
ov cmd fedora "uname -a"
# Run with environment variables
ov cmd jupyter "python script.py" -e CUDA_VISIBLE_DEVICES=0
# Target a specific instance
ov cmd ollama "ollama list" -i 2
| Flag | Description |
|---|---|
-i, --instance INSTANCE | Target a specific container instance (default: 1) |
-e, --env KEY=VALUE | Pass environment variables to the command |
ov start <image>)ov shell insteadov tmux cmd/ov:pull -- Prerequisite: fetch the image into local storage; handles remote refs (@github.com/...) and the ErrImageNotLocal recovery path
/ov:shell -- Interactive shell sessions with workspace mounts
/ov:dbus -- D-Bus interaction inside containers
/ov:tmux -- Persistent tmux sessions for long-running commands