Get support for Magento Cloud Docker

Cloud Docker for Commerce is a Magento Community Engineering project supported by the Magento developer community. You have several options to get support and learn more about Cloud Docker for Commerce and local development.


Fix Elasticsearch map count error:

When you launch the Docker environment on some Linux systems, the Elasticsearch service fails to start and the following error displays:

ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

To fix the error, run the following sysctl command to increase the memory map area allocation.

sysctl -w vm.max_map_count=262144

To permanently update the system setting for vm.max_map_count:

  1. Edit the sysctl configuration file (etc/sysctl.conf) and set the required value for the vm.max_map_count option.

  2. Reboot your system.

  3. Run the following command to verify the change.

    sysctl vm.max_map_count