We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e051b8 commit 878781fCopy full SHA for 878781f
packages/docker/src/dockerCommands/container.ts
@@ -59,7 +59,9 @@ export async function createContainer(
59
]
60
for (const mountVolume of mountVolumes) {
61
dockerArgs.push(
62
- `-v=${mountVolume.sourceVolumePath}:${mountVolume.targetVolumePath}`
+ `-v=${mountVolume.sourceVolumePath}:${mountVolume.targetVolumePath}${
63
+ mountVolume.readOnly ? ':ro' : ''
64
+ }`
65
)
66
}
67
if (args.entryPoint) {
0 commit comments