Public Repository

Last pushed: a month ago
Short Description
Nano Server + IIS. Updated on february 16, 2017. Version: 14393.693
Full Description

Created on Nano Server (Physical Machine). WIndows Container Base: microsoft/nanoserver. IIS Rol added.

How to use:

Install docker on your OS (Windows 10, Windows Server 2016, Nano Server, etc.).
Once docker is installed, execute in elevated prompt (PowerShell 5, etc): docker pull nanoserver/iis

To run docker just type: docker run --name nanoiis -d -it -p 80:80 nanoserver/iis

Show base images:
docker images

Show running containers:
docker ps -a -f status=running

Show container IP:
docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" nanoiis

Show containerID:
docker inspect --format="{{.Id}}" nanoiis

Now you can access via browser using container IP (ex.: http://172.18.10.110 ). Use here container IP.

Access via powershell:
Enter-PSSession <type-here-containerID> -RunAsAdministrator

If you want container starts everytime docker service starts:
docker update --restart=always <type-here-containerID>

Nano Server is a Microsoft poduct. Terms of use:
https://hub.docker.com/r/microsoft/nanoserver/

Hope you enjoy it. Rate, comment and share it. Thanks...

Dockerfile: https://github.com/nanoserver/iis/blob/master/Dockerfile

https://nanoserver.online

Docker Pull Command
Owner
nanoserver

Comments (4)
cgfootman
2 months ago

Have you considered adding the asp.net components?

dermeister0
2 months ago

Can you share the Dockerfile on GitHub?

Also I think you don't have EXPOSE statement, that's why I can't run the container in detached (-d) mode.

dermeister0
2 months ago

It will not work on Linux, because it's based on Windows image.

mkhedaskar
2 months ago

Has anyone testing this on Ubuntu 16.04 LTS?