Simple base docker image to run PHP5 applications.
373
Simple base docker image to run PHP5 applications.
$ docker build -t partlab/ubuntu-php5 .
$ docker pull partlab/ubuntu-php5
On Dockerfile
FROM partlab/ubuntu-php5 ADD . /
$ docker build -t <website-name> .
$ docker run -d -p 8080:8080 --name mywebsite <website-name> php -S 0.0.0.0:8080 -t /<path>
$ boot2docker halt
$ VBoxManage modifyvm boot2docker-vm --natpf1 "tcp-port8080,tcp,,8080,,8080"
$ boot2docker up
Content type
Image
Digest
sha256:31114af69…
Size
114.5 MB
Last updated
almost 11 years ago
docker pull partlab/ubuntu-php5