Skip to content

Dockerfile and associated other stuff for building a LAMP stack

License

Unlicense, Unlicense licenses found

Licenses found

Unlicense
LICENSE.txt
Unlicense
UNLICENSE.txt
Notifications You must be signed in to change notification settings

heistak/docker-lampstack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(N.B. the way that Docker handles permissions may vary depending on your current Docker version. If you're getting errors like

dial unix /var/run/docker.sock: permission denied

when you run the below commands, simply use sudo. This is a known issue.)

This repo contains a recipe for making a Docker container, with Apache, MySQL and PHP. To build, make sure you have Docker installed, clone this repo somewhere, and then run:

docker build -t <yourname>/lampstack .

Or, alternately, build DIRECTLY from the github repo like some sort of SUPER FUTURISTIC FLYING CAR MECHANIC:

docker build -t <yourname>/lampstack git://github.com/jbfink/docker-lampstack.git

Then run it! Woo!

docker run -d <yourname>/lampstack

Check docker logs after running to see MySQL root password, as so

echo $(docker logs <container-id> | sed -n 1p)

About

Dockerfile and associated other stuff for building a LAMP stack

Resources

License

Unlicense, Unlicense licenses found

Licenses found

Unlicense
LICENSE.txt
Unlicense
UNLICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published