diff --git a/akeneo/3.1-demo/README.md b/akeneo/3.1-demo/README.md index 5408ca2..c7ddb1f 100644 --- a/akeneo/3.1-demo/README.md +++ b/akeneo/3.1-demo/README.md @@ -69,7 +69,20 @@ services: image: elasticsearch:6.5.4 ``` -Run `docker-composer exec php /usr/local/bin/pim-init-db.sh` to initialize database, and load demo data. +You may have to increase max virtual memory areas if you see the following error: +``` +docker-compose logs --tail 100 -f elasticsearch +... +elasticsearch_1_2bad8dfeda81 | ERROR: [1] bootstrap checks failed +elasticsearch_1_2bad8dfeda81 | [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] +... +``` +Run the following command to increase max virtual memory areas to the required size: +``` +sudo sysctl -w vm.max_map_count=262144 +``` + +Run `docker-compose exec php /usr/local/bin/pim-init-db.sh` to initialize database, and load demo data. Then open http://localhost:3380.