Azure app for Service Unavailable dock container

I followed the tutorials on building a .net web application as an image of dockers, publishing to the azure container registry, and then I installed my VSTS release template to deploy the container to the application service.

It all works, I can view my image in the container registry, and the deployment seems to be successful, but when I go to the application service site, all I get is HTTP 503 - The service is unavailable.

The application service is running, I see deployments in my file system via bash - so I thought I was missing something?

I don’t have a “launch” command in any of my templates, I wondered if it could be?

The site works great with VS2017, including debugging via docker, so this is really the case ... how can I get the App App to actually download and execute the image?

Thank!

EDIT

In addition to this, I have access to docker diagnostics logs that claim that "windows operating system images" cannot be used on this platform. "

My base image is a microsoft / aspnetcore: 2.0 image that works fine on my linux container in my development environment ... but doesn't seem to work in the Linux application service?

Is aspnetcore: 2.0 base image unsuitable for linux application service?

+3
source share
2 answers

I finished this week's decision, hope the answer helps others.

VSTS Hosted , docker microsoft/aspnetcore: latest - ( SharePoint) , Windows, Linux .

linux, , .

+4

:

microsoft/aspnetcore ( /: 2.0) . , , , ( ).

0

Source: https://habr.com/ru/post/1691739/


All Articles