Overview
EcomDev/testcontainer-magento-data publishes pre-populated data container images to GitHub Container Registry (ghcr.io/ecomdev/testcontainer-magento-data) so your integration tests never wait on slow SQL dumps, setup:install, or sample data fixtures.
With v2, every image is built FROM scratch on top of clean OCI layers using zstd compression, cutting container pull sizes and cold-start times dramatically while supporting both linux/amd64 and linux/arm64 developer laptops and CI runners.
What Is Included
- Database images: Pre-initialized MariaDB and MySQL data directories for Magento Open Source and Mage-OS versions (with and without sample data).
- OpenSearch images: Ready-to-query search engine indices pre-indexed against the matching database release.
- Media images: Catalog media fixtures aligned with the sample data catalog.
Quick Start
Pull a ready-to-use image directly from GHCR or consume it through the PHP or Rust client libraries:
docker pull ghcr.io/ecomdev/testcontainer-magento-data:mariadb-10.11-magento-2.4.8-p3-sample-dataWant the full technical breakdown of the v2 architecture and benchmarks? Read Magento Testcontainers v2: 88% Smaller Images, 4.3× Faster Tests.
Related Projects
- Testcontainer Magento Data (PHP): PHP Testcontainers client (
ecomdev/testcontainers-magento-data) - Testcontainer Magento Data (Rust): Rust Testcontainers crate
- Magento GitHub Actions: Build your own custom project data containers in CI