At the moment CMA has a few limitations that you should be aware of:
  • You can create a maximum of 30 CMA instances running at the same time before running into network limits. To remove custom networks not used by at least one container you can use the command docker network prune OR update to magento-scripts version 1.7.0 or newer which will remove project network during stop command, freeing the network.
  • The same PHP version is used across all CMA instances that have the same PHP version. So, if A instance is using PHP 7.4.13 and B instance is using the same 7.4.13 then you should be careful with PHP extension versions, they should match. If they don't match, during runtime CMA will configure them with 2 versions at the same time causing interference in your code. To avoid this, we can recommend not to run those instances at the same time.
  • Not all ports can be used for Magento to run on. Some browsers can throw an error ERR_UNSAFE_PORT on some ports below 1024. If you encountered such issue, use -p option in the start command and use ports above 1024.
Copy link