Hacker News new | ask | show | jobs
by abalkan_msft 4236 days 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.

4 comments

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