Skip to content

Commit eccb4bc

Browse files
authored
🤖 Merge PR DefinitelyTyped#72306 Add Image MountType for dockerode by @eddumelendez
1 parent 784ea31 commit eccb4bc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

types/dockerode/index.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ declare namespace Dockerode {
11471147
abortSignal?: AbortSignal;
11481148
}
11491149

1150-
type MountType = "bind" | "volume" | "tmpfs";
1150+
type MountType = "bind" | "volume" | "tmpfs" | "image";
11511151

11521152
type MountConsistency = "default" | "consistent" | "cached" | "delegated";
11531153

@@ -1181,6 +1181,11 @@ declare namespace Dockerode {
11811181
Mode: number;
11821182
}
11831183
| undefined;
1184+
ImageOptions?:
1185+
| {
1186+
Subpath?: string;
1187+
}
1188+
| undefined;
11841189
}
11851190

11861191
type MountConfig = MountSettings[];

0 commit comments

Comments
 (0)