APPCMD exception bubbles up on Sitecore 10 CM container start, why?

Viewed 250

The container I'm baking constantly fails:

Service 'w3svc' has been stopped

APPCMD failed with error code 4312

Failed to update IIS configuration
[2021-02-15T21:35:11.000Z][LOGMONITOR] INFO: Entrypoint processs exit code: -2147467259

It is built out of Sitecore 10 image with solution files on top:

# escape=`
# Clean Sitecote 10 image
ARG RUNTIME_IMAGE
# Image with custom code
ARG ASSETS_IMAGE

ARG TOOLING_IMAGE

FROM ${ASSETS_IMAGE} AS assets 
FROM ${TOOLING_IMAGE} as tooling
FROM ${RUNTIME_IMAGE} AS runtime
ARG TRANSFORM

ARG CONFIGURATION=Release

WORKDIR C:/inetpub/wwwroot

COPY --from=assets "c:\out\Website\" .
COPY  Invoke-XdtTransform.ps1 .

COPY --from=tooling \tools\ \tools\

I cannot even start it and inspect to investigate deeper so all I have is the error message from AppCmd.

How to figure out why it dies?

Thanks.

0 Answers
Related