在部署azuze容器服务并使用群集之后,如何使用给出的示例连接:从c#https://github.com/Microsoft/Docker.DotNet连接到Azure容器服务群集的正确端点是什么
var credentials = new CertificateCredentials (new X509Certificate2 ("CertFile", "Password"));
var config = new DockerClientConfiguration("http://ubuntu-docker.cloudapp.net:4243", credentials);
DockerClient client = config.CreateClient();
我已经提出了证书,只是不知道适当的端点使用是什么?
从蔚蓝的端口1的网址:<name>-mgmt.<region>.cloudapp.azure.com
感谢ross,我刚刚得出同样的结论。花了我很多时间来弄清楚谷歌应该怎么做。我正在研究从这里开始的正确途径,以便我可以安全地从c#中与我的群集交谈。 DOCKER_OPTS =' - H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock'不是安全的:D可以工作 –