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:8615e8af1…
Size
487.8 MB
Last updated
15 days ago
docker pull sashas777/magento-php:8.5-cli