Skip to content

hoter/docker-lamp55

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-lamp55

LAMP: Ubuntu 14.04, Apache, PHP5.5, MySQL

Docker containers should store only persistent data. So, mutable data (mysql database and apache vhost) were carried over to the host system.

Please use following commands:

cd /path_to_container_folder

sudo docker build --tag=your_username/lamp .

sudo docker run -d -p 80:80 --name=lamp -v /path_to_container_folder/www:/var/www/html -v /path_to_container_folde>/data/mysql:/var/lib/mysql -v /path_to_container_folder/data/apache2:/etc/apache2/sites-available your_username/lamp

About

LAMP: Ubuntu 14.04, Apache, PHP5.5, MySQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published