Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AgentContainer

import type { AgentContainer } from "https://googleapis.deno.dev/v1/batch:v1.ts";

Container runnable representation on the agent side.

interface AgentContainer {
commands?: string[];
entrypoint?: string;
imageUri?: string;
options?: string;
volumes?: string[];
}

§Properties

§
commands?: string[]
[src]

Overrides the CMD specified in the container. If there is an ENTRYPOINT (either in the container image or with the entrypoint field below) then commands are appended as arguments to the ENTRYPOINT.

§
entrypoint?: string
[src]

Overrides the ENTRYPOINT specified in the container.

§
imageUri?: string
[src]

The URI to pull the container image from.

§
options?: string
[src]

Arbitrary additional options to include in the "docker run" command when running this container, e.g. "--network host".

§
volumes?: string[]
[src]

Volumes to mount (bind mount) from the host machine files or directories into the container, formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro