Magento 2 docker containers for local environment and tests.
bin/stop
Stop containers and restore them afterwards.
bin/start
Start containers from suspended state.
docker-compose pull
Update images
bin/install
bin/up
Build files to containers and run in the background.
bin/down
Stop and remove all data
docker-compose run cli bash
Connect to CLI container
docker-compose run cli magento-command
Running Magento command
To import a database dump, place the SQL file into the dev/docker-entrypoint-initdb.d folder.
docker-compose run cli bash -c "cat /var/www/magento/var/log/magento.cron.log"
Content type
Image
Digest
sha256:74f18c444…
Size
42.5 MB
Last updated
almost 2 years ago
docker pull sashas777/magento-redis:7.2