nanoserver/iis-php

By nanoserver

Updated about 8 years ago

Windows Nano Server + IIS + PHP 7 (version 7.1.7)

Image
5

10K+

nanoserver/iis-php repository overview

Windows Nano Server + IIS + PHP 7 (version 7.1.7).

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): docker pull nanoserver/iis-php

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

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 172.18.10.110 Now you can access via browser using container IP (ex.: http://172.18.10.110/info.php). Use here container IP.

You also can access via powershell: Enter-PSSession -RunAsAdministrator

If you want container starts everytime docker service starts: docker update --restart=always

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

Hope you enjoy it. Please rate, comment and share it. Thanks...

Dockerfile here: https://github.com/nanoserver/IIS-PHP/blob/master/Dockerfile/Dockerfile

https://nanoserver.online

Tag summary

Content type

Image

Digest

Size

470.5 MB

Last updated

about 8 years ago

docker pull nanoserver/iis-php