Content-Length: 1372 | pFad | http://github.com/dotnet/tye/commit/b2b91fa5b6bd8df081eb3c4ed74a2340822a9ccb.patch
FA
From b2b91fa5b6bd8df081eb3c4ed74a2340822a9ccb Mon Sep 17 00:00:00 2001
From: Filip Stas
Date: Wed, 15 Jul 2020 23:00:24 +0200
Subject: [PATCH] fix for bug #565 (#569)
Co-authored-by: Filip Stas
---
src/Microsoft.Tye.Hosting/DockerRunner.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Microsoft.Tye.Hosting/DockerRunner.cs b/src/Microsoft.Tye.Hosting/DockerRunner.cs
index b688354d5..910800b6c 100644
--- a/src/Microsoft.Tye.Hosting/DockerRunner.cs
+++ b/src/Microsoft.Tye.Hosting/DockerRunner.cs
@@ -283,11 +283,11 @@ async Task RunDockerContainer(IEnumerable<(int ExternalPort, int Port, int? Cont
if (volumeMapping.Source != null)
{
var sourcePath = Path.GetFullPath(Path.Combine(application.ContextDirectory, volumeMapping.Source));
- volumes += $"-v {sourcePath}:{volumeMapping.Target} ";
+ volumes += $"-v \"{sourcePath}:{volumeMapping.Target}\" ";
}
else if (volumeMapping.Name != null)
{
- volumes += $"-v {volumeMapping.Name}:{volumeMapping.Target} ";
+ volumes += $"-v \"{volumeMapping.Name}:{volumeMapping.Target}\" ";
}
}
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/dotnet/tye/commit/b2b91fa5b6bd8df081eb3c4ed74a2340822a9ccb.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy