Description
Therun-shell prompt provides a simple way to execute shell commands in a container with a specified base image.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
command | string | Yes | - | Shell command to execute |
image | string | No | ubuntu:22.04 | Base image to use |
Generated Instructions
When invoked with:tag:alpine:latest. If the image doesn’t exist, import it first with import_image.
With Specific Image
System Information
Implementation Notes
The agent should:-
Check if the specified image exists with
list_images -
If not found, import it with
import_image -
Execute the command with
run:
See Also
- run-python - Run Python code
- sync-and-run - Run with local files
- inspect-image - Explore image contents