We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0868de5 commit a6edb44Copy full SHA for a6edb44
runner/internal/shim/docker.go
@@ -564,8 +564,9 @@ func formatAndMountVolume(ctx context.Context, volume VolumeInfo) error {
564
}
565
566
func getVolumeMountPoint(volumeName string) string {
567
- // Put volumes in data-specific dir to avoid clashes with host dirs
568
- return fmt.Sprintf("/dstack-volumes/%s", volumeName)
+ // Put volumes in dstack-specific dir to avoid clashes with host dirs.
+ // /mnt/disks is used since on some VM images other places may not be writable (e.g. GCP COS).
569
+ return fmt.Sprintf("/mnt/disks/dstack-volumes/%s", volumeName)
570
571
572
func prepareInstanceMountPoints(taskConfig TaskConfig) error {
0 commit comments