@iexec/iapp
Version:
A CLI to guide you through the process of building an iExec iApp
24 lines (23 loc) • 815 B
TypeScript
export declare function checkDockerDaemon(): Promise<void>;
export declare function dockerBuild({ tag, isForTest, progressCallback, }: {
tag?: string;
isForTest?: boolean;
progressCallback?: (msg: string) => void;
}): Promise<string>;
export declare function pushDockerImage({ tag, dockerhubUsername, dockerhubAccessToken, progressCallback, }: {
tag: string;
dockerhubUsername?: string;
dockerhubAccessToken: string;
progressCallback?: (msg: string) => void;
}): Promise<void>;
export declare function runDockerContainer({ image, cmd, volumes, env, memory, logsCallback, }: {
image: string;
cmd: string[];
volumes?: string[];
env?: string[];
memory?: number;
logsCallback?: (msg: string) => void;
}): Promise<{
exitCode: number;
outOfMemory: boolean;
}>;