Public | Automated Build

Last pushed: 2 years ago
Short Description
Simple base docker image to run PHP5 applications.
Full Description

partlab/ubuntu-php5

Simple base docker image to run PHP5 applications.

Usage

Build

$ docker build -t partlab/ubuntu-php5 .

Download automated build

$ docker pull partlab/ubuntu-php5

Using (example)

On Dockerfile

FROM partlab/ubuntu-php5
ADD . /<path>

$ docker build -t <website-name> .
$ docker run -d -p 8080:8080 --name mywebsite <website-name> php -S 0.0.0.0:8080 -t /<path>

Tips

VirtualBox (boot2docker-vm)

$ boot2docker halt
$ VBoxManage modifyvm boot2docker-vm --natpf1 "tcp-port8080,tcp,,8080,,8080"
$ boot2docker up
Docker Pull Command
Owner
partlab
Source Repository

Comments (0)