oz agent run-cloud. An environment pins a Docker base image, specifies which Git repositories to clone, and configures setup commands that run after the repos are cloned. Reusing the same environment across many agent runs keeps your agents consistent and avoids repeating setup work.
Synopsis
oz e
Subcommands
oz environment list
Lists all cloud environments available to your account.Examples
oz environment get
Retrieves details of a specific environment by its ID.Arguments
Examples
oz environment create
Creates a new cloud environment.Flags
string
required
Name of the environment.Short form:
-nstring
Description of the environment. Maximum 240 characters.
string
Docker image to use as the base for this environment. Run
oz environment image list to see suggested Warp dev images. If not specified, you will be prompted to select from available images interactively.Short form: -dstring
Git repository to clone into the environment, in
owner/repo format. Repeatable — specify multiple times to clone multiple repositories.Short form: -rstring
Command to run after the repositories are cloned. Repeatable — specify multiple times to add multiple setup steps.Short form:
-cExamples
oz environment update
Updates an existing cloud environment. Only the fields you specify are changed; everything else is left as-is.Arguments
Flags
string
New name for the environment.Short form:
-nstring
New description (max 240 characters). Cannot be combined with
--remove-description.boolean
Remove the description from the environment. Cannot be combined with
--description.string
New Docker base image.Short form:
-dstring
Git repository to add, in
owner/repo format. Repeatable.Short form: -rstring
Git repository to remove, in
owner/repo format. Repeatable.string
Setup command to append to the list. Repeatable.Short form:
-cstring
Setup command to remove from the list. Repeatable.
boolean
Force the update without checking for integration usage.
Examples
oz environment delete
Deletes a cloud environment.Arguments
Flags
boolean
Delete without checking for integration usage.
Examples
oz environment image list
Lists available Warp dev base images from Docker Hub. Use the image names returned here as the value for--docker-image when creating or updating an environment.