问题:
bound or publishing to a non-loopback address, enforcing bootstrap checks
这种情况要根据提示来解决问题:
最大heap size和最小heap size要一致
bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: initial heap size [522190848] not equal to maximum heap size [8348762112]; this can cause resize pauses
https://techoverflow.net/2020/12/16/how-to-fix-elasticsearch-1-initial-heap-size-not-equal-to-maximum-heap-size/
虚拟内存比较少:
max virtual memory areas too low
解决:
docker场景下,在宿主机上
echo "vm.max_map_count=262144" | sudo tee -a /etc/sysctl.conf