Easily set up and develop on a LAMP stack, using Dockie Development Environment.
Pull dockie/lamp
from the Docker repository:
docker pull dockie/lamp
Or build dockie/lamp
from source:
git clone https://github.com/RobLoach/Dockie.git
cd Dockie
docker build -t dockie/lamp lamp
Run the image, binding associated ports, and mounting the present working directory:
docker run -p 8000:80 -p 2200:22 -p 3306:3306 -v $(pwd):/var/www/html:rw dockie/lamp
Connect on localhost:3306
, user root
, password root
.