Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 940 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 940 Bytes

PHP 1 Docker Image

Basic Docker image which provides an installation of PHP in version 1.0.8

Getting started

  1. Clone repositoy

    $ git clone https://github.com/jaem3l/php1-docker-image.git
    $ cd php1-docker-image
    
  2. Build Docker image

    $ docker build -t php1 .
    
  3. Start container

    docker run -dit -p 8080:80 --name php1cont -v $(pwd)/htdocs:/usr/local/apache2/htdocs/ php1
    
  4. See PHP 1 in action

Resources