diff --git a/src/main/kotlin/com/dcd/server/core/domain/application/service/impl/CreateContainerServiceImpl.kt b/src/main/kotlin/com/dcd/server/core/domain/application/service/impl/CreateContainerServiceImpl.kt index c003ef98..17ce6923 100644 --- a/src/main/kotlin/com/dcd/server/core/domain/application/service/impl/CreateContainerServiceImpl.kt +++ b/src/main/kotlin/com/dcd/server/core/domain/application/service/impl/CreateContainerServiceImpl.kt @@ -22,7 +22,7 @@ class CreateContainerServiceImpl( queryVolumePort.findAllMountByApplication(application) .forEach { val volume = it.volume - volumeMountBuilder.append("-v ${volume.name}:${it.mountPath}") + volumeMountBuilder.append("-v ${volume.volumeName}:${it.mountPath}") if (it.readOnly) volumeMountBuilder.append(":ro") volumeMountBuilder.append(" ")