aspnet
Modified version of microsoft/aspnet to enable Web.config overrides via environment variables.
Use in place of microsoft/aspnet (4.7.1-windowsservercore-1709).
Prefix app settings with APPSETTING_ and connection strings with CONNSTR_.
For example, to override an app setting with key PageTitle and a connection string named DefaultConnection:
$ docker run -d -p 80:80 -e APPSETTING_PageTitle=Foo -e CONNSTR_DefaultConnection="<connection string>" sample-aspnet-4x
Sample Dockerfile:
FROM anthonychu/aspnet:4.7.1-windowsservercore-1709
WORKDIR /inetpub/wwwroot
COPY . .
Content type
Image
Digest
Size
2.6 GB
Last updated
over 8 years ago
docker pull anthonychu/aspnet:4.7.1-windowsservercore-1709