Magento 2 Development Environment on PHP 7, Apache and Centos 7
10K+
For setting up the environment please use the following Docker Compose File and fill in the following parameters
MAGENTO_PUBLIC_KEY MAGENTO_PRIVATE_KEY MAGENTO_EDITION MAGENTO_VERSION ADMIN_FIRSTNAME ADMIN_LASTNAME ADMIN_USER ADMIN_PASSWORD ADMIN_EMAIL ADMIN_BACKEND DB_HOST DB_NAME SAMPLE_DATA
Afterwards just run docker-compose up -d
The Magento 2 code is downloaded automatically using composer and installed in the /var/www/html directory The Magento app directory is added as a volume for your custom code Sample data can be installed by using the SAMPLE_DATA environment variable
Connect to the container as root using: docker exec -it magento2 sh
Connect to the container as apache docker exec -it --user apache magento2 sh
Content type
Image
Digest
Size
392.4 MB
Last updated
over 9 years ago
docker pull adighe/magento2