4 ms·
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
by abalkan_msft 12y ago
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.
- Yuioup 12y agoHave 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
- abalkan_msft 12y agoYup, 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 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.
- jamesRaybould 12y agoI guess this would be the docker image in question? https://registry.hub.docker.com/u/microsoft/aspnet/ https://registry.hub.docker.com/u/microsoft/aspnet/
- abalkan_msft 12y agoYes, the tutorial came out before the image. This official image uses the Dockerfile in the tutorial. (well, almost)
- tigeba 12y agoYou 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.
- abalkan_msft 12y agoYep, 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/ https://ahmetalpbalkan.com/blog/docker-http-basic-auth/ :)
- jstclair 12y agoHave 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.