Where is AH with support for docker and asp.net core 2.0?

wanudev's Avatar


08 Mar, 2018 05:13 AM

Been thinking of migrating my net642 to netcoreapp20 so I can work on my mac and use docker. Don’t see much discussions about issues regarding core and/or docker. Was wondering where AH is currently on its position to offer those services?

  1. Support Staff 1 Posted by rune on 12 Mar, 2018 02:28 AM

    rune's Avatar


    AppHarbor doesn't support Docker, but I'd be curious to hear why you need that? We may add support for it in the future, but not necessarily something that'll exposed to apps (although we may if there are reasons to warrant that).

    ASP.NET Core is supported, but still requires publishing to the output directory using a bit of configuration in your web project file. All current versions of the .NET Core runtime including version 2.0 are installed on the worker and build servers, which also include the SDK.

    Currently you'll need to trigger the Publish build target and set the PublishDir project property yourself. That's pretty straightforward as you can see in this sample csproj using a default ASP.NET Core 1.1 (Core FX) template app created created with VS017:

    <Project Sdk="Microsoft.NET.Sdk.Web" DefaultTargets="Publish">
            <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" />
            <PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" />
            <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
            <PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" />
            <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.2" />
            <PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.2" />
            <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.1" />

    It should work if you make those two changes to the web project file, commit it to your repository and push to AppHarbor, but let me know if you continue to experience issues with this!


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac