Public Repository

Last pushed: 3 months ago
Short Description
Simple Apache + PHP containter with a PHP file printing hostname.
Full Description

docker run -p 80:80 rozanski/testrepo1

$ cat Dockerfile
FROM php:5.6-apache

COPY ./index.php /var/www/html/index.php
EXPOSE 80
$

$ cat index.php
<?php

echo gethostname();

?>
$

Docker Pull Command
Owner
rozanski

Comments (0)