After running any Dockerfile you will have an environment tailored for Magento 2.x:
Before running the container for the first time, you should prepare the following environment variables:
$MYSQL_HOST$MYSQL_USER$MYSQL_PASSWORD$MYSQL_DATABASEYou'll need a database running on MySQL 5.6+, as this container only has the web service.
magento.docker at the end of your /etc/hosts file (i.e., 127.0.0.1 magento.docker)docker-compose build && docker-compose up -d/var/www/html/bin/magento setup:install)Content type
Image
Digest
Size
751 MB
Last updated
about 7 years ago
docker pull roura/magento