@gluestack-seal/cli
Version:
17 lines (16 loc) • 673 B
TypeScript
export default class Docker {
private volume;
private container_name;
private build;
private envfile;
private ports;
private volumes;
constructor(container_name: string, servicePath: string, build: string, ports: string[], envfile?: string, volumes?: string[]);
private create;
private run;
private stopExec;
private remove;
private printCommand;
static start(container_name: string, servicePath: string, build: string, ports: string[], envfile?: string, volumes?: string[]): Promise<void>;
static stop(container_name: string, servicePath: string, build: string, ports?: string[], envfile?: string): Promise<void>;
}