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
| Subcommand | Description |
|---|---|
list | List all cloud environments |
get <id> | Get details of a specific environment |
create | Create a new cloud environment |
update <id> | Update an existing environment |
delete <id> | Delete a cloud environment |
image list | List available Warp dev base images |
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
| Argument | Description |
|---|---|
id | ID of the environment to retrieve |
Examples
oz environment create
Creates a new cloud environment.Flags
Name of the environment.Short form:
-nDescription of the environment. Maximum 240 characters.
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: -dGit repository to clone into the environment, in
owner/repo format. Repeatable — specify multiple times to clone multiple repositories.Short form: -rCommand 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
| Argument | Description |
|---|---|
id | ID of the environment to update |
Flags
New name for the environment.Short form:
-nNew description (max 240 characters). Cannot be combined with
--remove-description.Remove the description from the environment. Cannot be combined with
--description.New Docker base image.Short form:
-dGit repository to add, in
owner/repo format. Repeatable.Short form: -rGit repository to remove, in
owner/repo format. Repeatable.Setup command to append to the list. Repeatable.Short form:
-cSetup command to remove from the list. Repeatable.
Force the update without checking for integration usage.
Examples
oz environment delete
Deletes a cloud environment.Arguments
| Argument | Description |
|---|---|
id | ID of the environment to delete |
Flags
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.