This is a container built and optimized to run Magento quickly.
- Comes with all the standard magento requirements built-in
- Symlinks all configuration files from /configs so, while testing/optimizing you can mount the folder instead of having to rebuild the image
While recommended to check all configuration and rebuilding before using this in production the image should work out of the box.
docker build -t nginx-magento .
Database is run from a separate container.
- Create a container named
mysql
from this guide.
- Soft link to your Magento code base in
magento
- Run
run.sh
- Soft link to your Magento code base in
magento
- Run this
docker run \
-v `pwd`/magento:/var/www \
-v `pwd`:/configs/ \
--name magento \
--link db:mysql \
-d nginx-magento