UNPKG

@iexec/iapp

Version:

A CLI to guide you through the process of building an iExec iApp

36 lines (35 loc) 1.22 kB
import Docker from 'dockerode'; 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; }>; export declare function tagDockerImage({ image, repo, tag, }: { image: string; repo: string; tag: string; }): Promise<string>; export declare function inspectImage(image: string): Promise<Docker.ImageInspectInfo>; export declare function parseImagePath(dockerImagePath: string): { dockerUserName: string; imageName: string; imageTag: string; };