一、Elasticsearch
1. 下载镜像
elasticsearch镜像不支持latest标签,必须指定版本号
% docker pull elasticsearch:8.17.2
2. 启动容器
参考官方文档 https://www.elastic.co/guide/en/elasticsearch/reference/7.5/docker.html
% docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:8.17.2
3. 无法启动
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x0000ffff7413ff68, pid=26, tid=27
#
# JRE version: (22.0.2+9) (build )
# Java VM: OpenJDK 64-Bit Server VM (22.0.2+9-70, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# j java.lang.System.registerNatives()V+0 java.base@22.0.2
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java

最低0.47元/天 解锁文章
676

被折叠的 条评论
为什么被折叠?



