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

Container

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

A Docker container.

interface Container {
args?: string[];
command?: string[];
env?: {
[key: string]: string;
}
;
image?: string;
runAsUser?: number;
workingDir?: string;
}

§Properties

§
args?: string[]
[src]

Optional. Arguments passed to the entrypoint.

§
command?: string[]
[src]

Optional. If set, overrides the default ENTRYPOINT specified by the image.

§
env?: {
[key: string]: string;
}
[src]

Optional. Environment variables passed to the container's entrypoint.

§
image?: string
[src]

Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of preconfigured images, but you can create your own custom container images. If using a private image, the host.gceInstance.serviceAccount field must be specified in the workstation configuration. If using a custom container image, the service account must have Artifact Registry Reader permission to pull the specified image. Otherwise, the image must be publicly accessible.

§
runAsUser?: number
[src]

Optional. If set, overrides the USER specified in the image with the given uid.

§
workingDir?: string
[src]

Optional. If set, overrides the default DIR specified by the image.