-
Notifications
You must be signed in to change notification settings - Fork 688
Docker bound volume mounts resolve to OS local path #997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker bound volume mounts resolve to OS local path #997
Conversation
…g as windows path (dotnet#993)
Hmm, we don't have any tests for this code path yet do we... |
No, I had noticed that :) |
Testing this code is going to be a little awkward in terms of an end to end functional test - but perhaps it can be pulled out into an interna; helper method which we can call from Aspire.Hosting.Tests just to satisfy us that it covers all the various combinations that we could see. |
Could you add a test like
instead grabbing Container from KubernetesService and check the Spec.VolumeMounts property?
|
@r0ss88 are you still interested in updating this? |
Apologies for the delayed response, I ended up working round this so no longer require this fix. I'd be happy to add the tests though to cover the change. |
Hey @BrennanConroy, I have added the required unit tests as requested. |
Thank you @r0ss88 ! |
Fix an issue when using docker context from WSL mounted path resolving as windows path (#993)