docker/ts/docker.classes.container.ts

11 lines
326 B
TypeScript
Raw Normal View History

2018-07-16 21:52:50 +00:00
import * as plugins from './dockersock.plugins';
import { DockerHost } from './docker.classes.host';
export class DockerContainer {
static async getContainers(dockerHostArg: DockerHost): Promise<DockerContainer[]> {
const result = [];
await dockerHostArg.request('GET', '/containers/json')
return result;
}
}