Public | Automated Build

Last pushed: a year ago
Short Description
LAMP (Linux Apache Mysql Php)
Full Description

docker-lamp

Dockerized LAMP (Linux Apache Mysql Php)

Checkout Dockerfile from github

Build new image

You can build new LAMP image

docker build -t mylamp .
docker run --name lamp -t mylamp

Pull already built image

You can pull your docker image from docker hub (witrdotnet)

docker pull witrdotnet/docker-lamp
docker run --name lamp -t witrdotnet/docker-lamp

browse apache welcome page

Look for container IP

docker inspect lamp | grep IPAddress

http://containerIP/

mount your php site

Run your php site under docker-lamp

docker run --name lamp -t -v path/to/your/app/apphome:/var/www/html/apphome  witrdotnet/lamp
Docker Pull Command
Owner
witrdotnet
Source Repository

Comments (0)