Files
docker/ts/interfaces/container.ts

13 lines
398 B
TypeScript

import { DockerNetwork } from '../classes.network.js';
/**
* Container creation descriptor supporting both string references and class instances.
* Strings will be resolved to resources internally.
*/
export interface IContainerCreationDescriptor {
Hostname: string;
Domainname: string;
/** Network names (strings) or DockerNetwork instances */
networks?: (string | DockerNetwork)[];
}