Skip to content

zoltanec/docker_lamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

webraketa-docker-lamp

Docker lamp for development

Usage

To create the image webraketa/web-server, execute the following command on the web-server folder:

docker build -t webraketa/web-server .

Custom PHP application

After that, build the new project image in the web-project folder (replace sitename on your site name):

docker build -t webraketa/sitename .

And run container:

docker run -d -p 80:80 -v //c/local_site_path:/var/www/sitename webraketa/sitename

To get docker ip:

docker-machine ls

Add in OS hosts file: docker_ip sitename

About

dockerfiles lamp for development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages