Re:Creating an ASP.NET VNext Docker Container Using Mono
by tigeba on Saturday November 15, 2014 @12:37AM
(#8610946)
You can:
export DOCKER_TLS_VERIFY=1
to avoid having to use --tls everywhere, makes it a little less tedious. I have also found that not all tools are quite ready, or at least grumpy with TLS. I have had no luck using fig, for example.
Re:Creating an ASP.NET VNext Docker Container Using Mono
by abalkan_msft on Saturday November 15, 2014 @03:25AM
(#8611199)
Yep, aware. For the sake of consistency with the "how to run docker on azure" tutorial we linked from this tutorial, we sustained the --tls parameter. I'm not big fan of TLS at all :) For me even basic auth does the job: https://ahmetalpbalkan.com/blog/docker-http-basic-auth/ :)
Re:Creating an ASP.NET VNext Docker Container Using Mono
by jamesRaybould on Friday November 14, 2014 @05:35PM
(#8609916)
I guess this would be the docker image in question? https://registry.hub.docker.com/u/microsoft/aspnet/
Re:Creating an ASP.NET VNext Docker Container Using Mono
by abalkan_msft on Saturday November 15, 2014 @03:24AM
(#8611197)
Yes, the tutorial came out before the image. This official image uses the Dockerfile in the tutorial. (well, almost)
Re:Creating an ASP.NET VNext Docker Container Using Mono
by Yuioup on Friday November 14, 2014 @03:51PM
(#8609419)
Have you managed to get any other ASP.NET vNext samples to work besides David Fowler's Hello World sample? I have tried to get MusicStoreMVC to work but I keep getting "Out of memory" errors on Mono+Linux.
[EDIT] David Fowler is a cool guy BTW
Re:Creating an ASP.NET VNext Docker Container Using Mono
by abalkan_msft on Saturday November 15, 2014 @03:26AM
(#8611203)
Yup, honestly other samples besides David's HelloWorldVnext require a fix to the image (related to libuv), which means they're not working at all right now with Kestrel. But community was fast enough to send the fix:
https://github.com/aspnet/aspnet-docker/pull/8
Once that's in we will see if those "confirmed to be working on Linux" samples work within Docker as well and we'll take fixes as needed.
For those wondering, we'll be releasing an official Docker image for ASP.NET soon. This tutorial goes to the depths of what that image will look like.