- Notifications
You must be signed in to change notification settings - Fork0
Dockerfile and associated other stuff for building a LAMP stack
License
Unlicense, Unlicense licenses found
Licenses found
heistak/docker-lampstack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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 aknown issue.)
This repo contains a recipe for making aDocker container, with Apache, MySQL and PHP.To build, make sure you have Dockerinstalled, 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
Uh oh!
There was an error while loading.Please reload this page.