This hosts 2 containers:
- A magento container
- A mysql container
This uses docker-compose to connect the above two containers.
###Installation instructions:
- Clone this repo
- Make the file bin/localdb-run.sh executable
chmod +x ./bin/localdb-run.sh
- Build the containers
docker-compose build
- Start the containers
docker-compose up -d
- Create an /etc/hosts entry for local.magento to the docker vm machine's IP
- Now, goto local.magento on the browser
#####To get the docker VM's IP:
docker-machine ip default
This repository is copied from https://github.com/alexcheng1982/docker-magento
For storing mysql data on the host machine, I followed the instructions from: