-
Notifications
You must be signed in to change notification settings - Fork 381
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
'Unknown URL scheme unix' Exception when running with mono on Linux #322
Comments
I don't know if |
@jterry75 The Mono framework supports projects targeting |
I don't know that much about the Mono framework. Can you write a sample program that targets |
I've added a repro project, with verification instructions to https://github.com/alastairs/docker.net-repro This is the sample program in full:
The exception is thrown at line 12, and appears to be a direct result of this |
Yes... Mono support Unix sockets even on fullfx... I'm not sure why that I believe when that was wrote, mono didn't had support for it directly... Perhaps you could put a PR @alastairs with that change. Mono isn't even listed here https://docs.microsoft.com/en-us/dotnet/standard/frameworks however, I know @jterry75 perhaps its time to change the targets and only target In all cases, for production server apps, I would still recommend use .Net Core as @jterry75 recommended. |
Hummm... On a second thought, look at this: https://github.com/dotnet/standard/blob/master/docs/versions.md#net-standard-versions Mono 4.6 is supported on all |
Output of
dotnet --info
:What version of Docker.DotNet?:
Steps to reproduce the issue:
net471
):var dockerClient = new DockerClientConfiguration("unix:///var/run/docker.sock").CreateClient();
What actually happened?:
An Exception with the message "Unknown URL scheme unix" was thrown.
What did you expect to happen?:
The connection to the docker daemon was made successfully, just as if building and running a dotnet core
netcoreapp2.0
project.The text was updated successfully, but these errors were encountered: