This page needs to be revised: Building .NET docker Images
This will take the place of Issue #2035 - Update .NET Core Docker Doc
Note: Consider splitting Image documentation into a separate doc than VS Code and Docker use.
@JRAlexander we got a comment on the topic "Just wasted 30 minutes trying this, there should be a warning or something at the beginning showing what versions are supported, my project its using the 2.0 preview and after "yo aspnet" the app didn't start"
while we work at this, should we just put a warning on top that the topic hasn't been updated for 2.0 yet?
are there any updates of the progress here?
Do we have any ETA for this task?
@kaabahmed10p - I am working on it now and intend to have it finished within the next few days.
Let's remove the "What is Docker topic?" this can be found and linked to from https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/container-docker-introduction/docker-defined. @JRAlexander If you've already started on it it may be helpful to do a PR to help expand/update that doc.
I think we should expand "Further Reading on .NET Core images: production, development/build explanations" by contributing here https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/net-core-net-framework-containers/official-net-docker-images. I think our .NET and Docker blog post has more helpful details on this that can be added.
There is also already a doc on debugging through a container in VS so we can take that off the list. Also, this is very outdated https://docs.microsoft.com/en-us/dotnet/framework/docker/console I'd like to retire it and link to the debugging through a container in VS doc.
I think Maira brought up a good point in the other PR. We should definitely see if these topics now exist since the time we identified the need for them. We may simply need to update some and provide good links to help visibility. I did search for these topics when helping develop the list, but I might have been searching in the dotnet docs only and not in the global Microsoft doc search. Looks like that turns up more docs overlapping here.
How's the progress here? I still cannot figure out how to get an app on .NET Core 2.0 to run properly in Docker. These docs would be much appreciated.
@jdk339 I was able to build an image for deployment using this URL: https://docs.docker.com/engine/examples/dotnetcore/
I got excited when this got updated, but there is yet another issue.
The recommended image to use, microsoft/dotnet:2.0-sdk fails with /app/docker-compose.dcproj : error MSB4236: The SDK 'Microsoft.Docker.Sdk' specified could not be found. as per https://github.com/dotnet/cli/issues/6178 .
Any plans to fix this? I don't find it ok for the official documentation to recommend failing images. At least a note to the https://github.com/dotnet/cli/issues/6178 should be added.
Most helpful comment
are there any updates of the progress here?