Ejemplo n.º 1
0
 public static string ToDockerfilePath(this MountedPath path) => path.ToString().Replace("\\", "/");
Ejemplo n.º 2
0
 public static DockerRunSettings SetVolume(this DockerRunSettings settings, MountedPath path) =>
 settings.SetVolume($"{path.HostPath.ToDockerfilePath()}:{path.ToDockerfilePath()}");