Edit in GitHubLog an issue

Get support for 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.

Troubleshooting

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:

Copied to your clipboard
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.

Copied to your clipboard
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. Verify the change.

    Copied to your clipboard
    sysctl vm.max_map_count
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.