Windows IIS Insider

Verified Publisher

windows/servercore/iis/insider

By Microsoft

Updated 10 months ago

Microsoft IIS insider images

1

Featured Tags

  • windowsservercore-10.0.19035.1 (20H1)
    docker pull mcr.microsoft.com/windows/servercore/iis/insider:windowsservercore-10.0.19035.1

About this Image

This is insider version of Internet Information Services (IIS) for Windows® Server image based on insider OS with beta features.

Beta features

Enabled IIS ETW logging for Docker logs.

How to Use this Image

Create a Dockerfile with your website

FROM mcr.microsoft.com/windows/servercore/iis/insider:windowsservercore-{build}.{revision}
WORKDIR /inetpub/wwwroot
COPY content/ .

You can then build and run the Docker image:

$ docker build -t iis-site .
$ docker run -d -p 8000:80 --name my-running-site iis-site

There is no need to specify an ENTRYPOINT in your Dockerfile since the microsoft/iis base image already includes an entrypoint application that monitors the status of the IIS World Wide Web Publishing Service (W3SVC).

Note: This repo does not publish or maintain alatesttag. Please declare a specific tag when pulling or referencing images from this repo.

Verify in the browser

With the current release, you can't use http://localhost to browse your site from the container host. This is because of a known behavior in WinNAT, and will be resolved in future. Until that is addressed, you need to use the IP address of the container.

Once the container starts, you'll need to finds its IP address so that you can connect to your running container from a browser. You use the docker inspect command to do that:

docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" my-running-site

You will see an output similar to this:

172.28.103.186

You can connect the running container using the IP address and configured port, http://172.28.103.186:8000 in the example shown.

In addition to static content, IIS can run other workloads including but not limited to ASP.NET, ASP.NET Core, NodeJS, PHP, and Apache Tomcat.

For a comprehensive tutorial on running an ASP.NET app in a container, check out the tutorial on the docs site.

Related Repos

Full Tag Listing

Windows Images
TagsArchitectureDockerfileOsVersionCreatedTimeLastUpdatedTime
windowsservercore-10.0.19035.1amd64Dockerfile10.0.19035.101/28/202002/28/2020

You can retrieve a list of all available tags for windows/servercore/iis/insider at https://mcr.microsoft.com/v2/windows/servercore/iis/insider/tags/list

Feedback

If you have any issues or concerns, reach out to us through a GitHub issue.

License

MICROSOFT SOFTWARE SUPPLEMENTAL LICENSE TERMS

CONTAINER OS IMAGE

Microsoft Corporation (or based on where you live, one of its affiliates) (referenced as “us,” “we,” or “Microsoft”) licenses this Container OS Image supplement to you (“Supplement”). You are licensed to use this Supplement in conjunction with the underlying host operating system software (“Host Software”) solely to assist running the containers feature in the Host Software. The Host Software license terms apply to your use of the Supplement. You may not use it if you do not have a license for the Host Software. You may use this Supplement with each validly licensed copy of the Host Software.

Docker Pull Command

docker pull mcr.microsoft.com/windows/servercore/iis/insider