Hacker News new | past | comments | ask | show | jobs | submit login
Creating an ASP.NET VNext Docker Container Using Mono (msopentech.com)
83 points by teh_klev on Nov 14, 2014 | hide | past | favorite | 11 comments



Author here, I can take questions.

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.


I guess this would be the docker image in question? https://registry.hub.docker.com/u/microsoft/aspnet/


Yes, the tutorial came out before the image. This official image uses the Dockerfile in the tutorial. (well, almost)


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.


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/ :)


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


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.


Have you thought about a Vagrant + Docker tutorial next? I got a few different Docker images running vNext on my Mac; it's great, but not really a development-first solution.


Now... if only I can convince the higher-ups to move our sensitive data to Azure where it will likely be more secure than out self-hosted solution is now. That's becoming a hard battle to fight with all the bad vibes people have about "the cloud" right now.


What bad vibes are you talking about?


General not-so-tech-savvy consumers are scared of their data getting stolen if it's in the cloud.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: