Install Docker.
You can download automated build from public Docker Hub Registry:
docker pull lehungio/php-apache:latest
Another way: build from Github
To create the image lehungio/centos, clone this repository and execute the following command on the docker-centos folder:
docker build -t lehungio/php-apache:latest .
Another alternatively, you can build an image directly from Github:
docker build -t="lehungio/php-apache:latest" github.com/lehungio/liho-docker-image-php-apache
Create container:
docker create -it --name php -h php lehungio/php-apache
Start container:
docker start liho-docker-image-php-apache
docker exec -it liho-docker-image-php-apache bash
Stop the currently running image:
docker stop liho-docker-image-php-apache
Update the docker image:
docker pull lehungio/php-apache:latest
Content type
Image
Digest
Size
198.5 MB
Last updated
over 8 years ago
docker pull lehungio/php-apache