magento / magento-cloud-docker

magento/magento-cloud-docker

Magento Cloud Docker

magento2-component Compatibility: 2.4.7-2.4.8 Code Quality: Fail Tests: Fail Security: Pass OSL-3.0, AFL-3.0

Magento Cloud Docker

Docker Build Status
Docker Pulls
Docker Stars

Welcome

Magento Cloud Docker is a package—part of the Magento Cloud Suite—designed to develop, test, and deploy your Magento Commerce store. The Magento Cloud Docker implementation deploys Cloud projects to a local workstation so that you can develop and test your code in a simulated Cloud environment.

Contributing to Magento Cloud Docker Code Base

You can submit issues and pull requests to extend functionality or fix potential bugs. Improvements to Magento Cloud Docker can include work such as improving the developer experience or optimizing the deployment process. If you find a bug or have a suggestion, let us know by creating a Github issue.

Note: This repository is not an official support channel. To receive project-specific help, submit a support ticket using the Magento Support Portal. Any support-related issues opened in this repository will be closed with a request to open a support ticket.

Magento Cloud Suite

The Magento Cloud Suite includes a set of packages designed to deploy and manage Magento Commerce installations on the Cloud platform.

  • The ece-tools package - A set of scripts and tools designed to manage and deploy Cloud projects
  • Magento Cloud Components package - Extended Magento Commerce core functionality for sites deployed on the Cloud platform
  • Magento Cloud Docker package - Functionality and Docker images to deploy Magento Commerce to a local Cloud environment
  • Magento Cloud Patches package - A set of patches which improve the integration of all Magento versions with Cloud environments

Useful Resources

Credits and License

Inspired by meanbee/docker-magento2

License

Each Magento source file included in this distribution is licensed under OSL-3.0 license.

Please see LICENSE.txt for the full text of the Open Software License v. 3.0 (OSL-3.0).

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
1.4.8 stable Fail Magento 2.4.7-2.4.8 Details 2026-05-06 14:53:44
1.4.7 stable Not tested Not yet tested Details 2026-03-06 06:12:30
1.4.6 stable Not tested Not yet tested Details 2025-11-13 16:27:46
1.4.5 stable Not tested Not yet tested Details 2025-10-08 18:28:35
1.4.4 stable Not tested Not yet tested Details 2025-08-07 16:27:38
1.4.3 stable Not tested Not yet tested Details 2025-06-03 16:19:14
1.4.2 stable Not tested Not yet tested Details 2025-04-07 17:19:13
1.4.1 stable Not tested Not yet tested Details 2025-02-06 17:24:09
1.4.0 stable Not tested Not yet tested Details 2024-10-07 18:24:45
1.3.7 stable Not tested Not yet tested Details 2024-04-08 20:06:59
1.3.6 stable Not tested Not yet tested Details 2023-08-02 14:17:56
1.3.5 stable Not tested Not yet tested Details 2023-03-13 17:44:32
1.3.4 stable Not tested Not yet tested Details 2022-10-28 12:07:35
1.3.3 stable Not tested Not yet tested Details 2022-09-14 13:34:40
1.3.2 stable Not tested Not yet tested Details 2022-04-12 04:55:13
1.3.1 stable Not tested Not yet tested Details 2022-03-15 15:14:02
1.3.0 stable Not tested Not yet tested Details 2021-10-26 17:15:24
1.2.4 stable Not tested Not yet tested Details 2021-07-29 18:35:21
1.2.3 stable Not tested Not yet tested Details 2021-06-14 21:05:24
1.2.2 stable Not tested Not yet tested Details 2021-04-20 19:58:38
1.2.1 stable Not tested Not yet tested Details 2020-12-21 22:56:30
1.2.0 stable Not tested Not yet tested Details 2020-11-09 18:31:34
1.1.2 stable Not tested Not yet tested Details 2020-09-08 15:03:37
1.1.1 stable Not tested Not yet tested Details 2020-08-05 15:31:44
1.1.0 stable Not tested Not yet tested Details 2020-06-24 16:55:28
1.0.0 stable Not tested Not yet tested Details 2020-02-05 21:54:24

Requires 9

Package Constraint
php ^8.0
ext-json *
composer/composer ^1.9 || ^2.8 || !=2.2.16
composer/semver @stable
illuminate/config ^8.77 || ^10.0 || ^11.0 || ^12.16
symfony/config ^4.4 || ^5.1|| ^5.4 || ^6.4 || ^7.2
symfony/console ^4.4 || ^5.1 || ^5.4 || ^6.4 || ^7.2
symfony/dependency-injection ^4.4 || ^5.1|| ^5.4 || ^6.4 || ^7.2
symfony/yaml ^4.4 || ^5.1 || ^5.4|| ^6.4 || ^7.2

Requires-dev 10

Package Constraint
codeception/codeception ^4.1 || ^5.1
codeception/module-asserts ^1.2 || ^3.0
codeception/module-db ^1.0 || ^3.0
codeception/module-phpbrowser ^1.0 || ^3.0
codeception/module-rest ^1.2 || ^3.0
consolidation/robo ^2.0 || ^3.0 || ^4.0 || ^5.0
phpmd/phpmd @stable
phpstan/phpstan ^1.8 || ^2.0
phpunit/phpunit ^10.0 || ^12.0
squizlabs/php_codesniffer ^3.7

Compatibility

Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 not tested not tested

Code Quality

Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.

Static analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

Static analysis results
Tool Status Findings Summary
PHPCS Fail 78 14 errors, 64 warnings (ruleset: Magento2) — 20 auto-fixable with phpcbf
PHPMD Warning 43 43 rule violations (IfStatementAssignment:35, ErrorControlOperator:7, ExcessiveClassComplexity:1)
Cpd Warning 2 2 duplicated chunks spanning 89 total lines (min-lines=5, min-tokens=70)
Composer validate Info 3 valid; 3 advisory notes (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 3 3
2.4.8 3 3
2.4.9 Error Error

Tests

Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.

Unit tests

Unit tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 N/A N/A
2.4.8 N/A N/A
2.4.9 N/A N/A

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Error Error

Security

Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
OSL-3.0, AFL-3.0

More from magento

View vendor
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.