Setup development environment - mundipagg/magento2 GitHub Wiki
Setup development environment with Docker.
Image
https://hub.docker.com/r/thiagobarradas/magento2
- OS:
Debian Jessie 8.10 - PHP:
7.0.26 - Magento:
2.2.2 - Apache:
2.4.10 - MySQL:
5.7.20
Commands
docker run -p 80:80 -d --name magento2 thiagobarradas/magento2:2.2.2-php7.0
After starting the container, it's common to appear error when accessing 127.0.0.1 immediately, this happens because mysql is still in the process of initialization. Usually in less than 1 minute, everything is fine.
docker exec -it magento2 bash
composer require mundipagg/mundipagg-magento2-module
composer updatephp bin/magento setup:upgradephp bin/magento setup:di:compile