Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pipelight/src/helpers/docker/mod.ts>Container

Typescript helpers for pipelight
Latest
class Container
implements ContainerParams
Re-export
import { Container } from "https://deno.land/x/pipelight@v0.3.0/src/helpers/docker/mod.ts";

Constructors

new
Container(params: ContainerParams)

Properties

optional
args: Record<string, string>[]
optional
envs: string[]
optional
globals: Globals
id: string
image: Pick<ImageParams, "name">
name: string
optional
networks: MountNetworkParams[]
optional
ports: Port[]
optional
volumes: MountVolumeParams[]

Methods

create(): string[]
exec(cmds: () => string[]): string[]
remove(): string[]
restart(): string[]