Skip to main content
Run a shell command in an isolated container.

Description

The run-shell prompt provides a simple way to execute shell commands in a container with a specified base image.

Parameters

Generated Instructions

When invoked with:
Returns:
Use image 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:
  1. Check if the specified image exists with list_images
  2. If not found, import it with import_image
  3. Execute the command with run:

See Also