Sign inSign up

kiazhi/nanoserver.php

By kiazhi

Updated over 8 years ago

PHP on Windows Nano Server base OS image for Windows containers

Image
1

479

kiazhi/nanoserver.php repository overview

What is Nano Server?

Windows Server 2016 offers a new installation option: Nano Server. Nano Server is a remotely administered server operating system optimized for private clouds and datacenters. It is similar to Windows Server in Server Core mode, but significantly smaller, has no local logon capability, and only supports 64-bit applications, tools, and agents. It takes up far less disk space, sets up significantly faster, and requires far fewer updates and restarts than Windows Server. When it does restart, it restarts much faster. For more details, follow this link.

What is PHP?

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. For more details, follow this link.

Releases Tag

This is a brief example on how the image is tagged and does not represent every currently available tags.

Getting Started with PHP on Nano Server

  • Step 1 - Switch to Windows container:

  • Step 2 - Pull the docker image using Docker CLI:

    docker pull kiazhi/nanoserver.php
    
  • Step 3 - Inspect the container interactively using Docker CLI:

    docker run --rm -it kiazhi/nanoserver.php
    
  • Step 4 - Verify PHP version within the container interactively:

    php --version
    
  • Step 5 - Verify PHP configuration within the container interactively:

    php --info
    
  • Step 6 - Verify PHP is serve by IIS using PowerShell within the container interactively:

    Invoke-WebRequest `
        -Uri localhost | `
            Select-Object `
                -Expand RawContent ;
    
  • Step 6 - Exit from the container:

    exit
    

DISCLAIMER

EXCEPT AS REPRESENTED IN THIS AGREEMENT, ALL WORK PRODUCT BY DEVELOPER IS PROVIDED "AS-IS". OTHER THAN AS PROVIDED IN THIS AGREEMENT, DEVELOPER MAKES NO OTHER WARRANTIES, EXPRESS OR IMPLIED, AND HEREBY DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING ANY WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.

Tag summary

Content type

Image

Digest

Size

463.2 MB

Last updated

over 8 years ago

docker pull kiazhi/nanoserver.php