diff --git a/src/entity/commands/docker/docker_start.ts b/src/entity/commands/docker/docker_start.ts index e9bad38..910a3dd 100755 --- a/src/entity/commands/docker/docker_start.ts +++ b/src/entity/commands/docker/docker_start.ts @@ -132,8 +132,9 @@ export default class DockerStartCommand extends InstanceCommand { for (const it of extraVolumes) { if (!it) continue; const element = it.split(":"); - if (element.length != 2) continue; - let [hostPath, containerPath] = element; + if (element.length < 2) continue; + let hostPath = element[0]; + let containerPath = element.slice(1).join(":"); if (path.isAbsolute(containerPath)) { containerPath = path.normalize(containerPath);