Public Repository

Last pushed: 3 months ago
Short Description
Apache 2.4, PHP Debian based server layer.
Full Description

Armstrong Base

A minimalist Apache, PHP docker server

How it works:

Pretty much just like an Apache Debian based server.

Tags:

  • PHP 7.1 (gragonmau/armstrong-base:7.1)
  • PHP 7 (gragonmau/armstrong-baselatest or gragonmau/armstrong-base:7)

How to use:

Simple method (Testing)

You may simply use this command if don't need virtual host configuration or anything like that:
docker run -d --name apache -p 80:80 -v $(PWD):/var/www/html gragonmau/armstrong-base
And then access YOUR_DOCKER_HOST_IP on your web browser.
Make sure to have an index.php or something like that on the directory that you execute the command above, so that you will sync your current directory with the apache directory.

Other cases (Most real cases)

But if you do need configurations such as virtual hosts, I would recommend to create a new image, using this one as your base image. I still plan to make this solution a bit more robust, allowing users to have this configurations set easily.
You may check on how to create a new image in the following link by clicking here.

Dockerfile

You can check the Dockerfile used to build this image by clicking here.

Docker Pull Command
Owner
gragonmau

Comments (0)