活动介绍
file-type

Docker环境下的Java邮件客户端测试工具

ZIP文件

下载需积分: 50 | 11KB | 更新于2025-03-06 | 100 浏览量 | 0 下载量 举报 收藏
download 立即下载
标题中的"Docker邮件客户端"指的是一款基于Docker技术实现的邮件客户端应用,这表明该应用可以被打包成一个Docker镜像,在Docker容器中运行。Docker是一种开源的应用容器引擎,它可以将应用及其依赖打包到一个轻量级、可移植的容器中,然后在任何支持Docker的操作系统上运行。 描述部分提供了该Docker镜像的详细信息。它提到"docker-message-client"是使用Java 8+和Spring Boot 2.0.3.RELEASE构建的。Java 8是Oracle公司推出的Java语言的一个主要版本,而Spring Boot是Spring框架的一个模块,用于简化Spring应用的创建和开发过程,它提供了很多默认的配置来帮助开发者快速构建和运行应用程序。版本2.0.3.RELEASE是Spring Boot的具体版本号。 描述中还提到该Docker镜像作为一个"测试工具",并且明确指出"不用于生产"。这意味着虽然该镜像可以用于开发环境或者测试环境的邮件服务测试,但是不建议在生产环境中使用,可能是因为其功能较为简单,或者不适合高并发等生产环境需求。 接着,描述中提到在Docker中执行的"企业消息基础知识命令",这表明该应用可能用于企业环境中的消息传递(Message Passing)演示或测试。企业消息传递是企业级信息系统中重要的组成部分,它允许系统中的不同组件通过消息传递机制进行通信和数据交换,常用于构建分布式系统和集成异构系统。 在本地环境下运行该Docker镜像需要传递一个特定的参数来指定ActiveMQ的主机名。ActiveMQ是一个开源的消息代理,它实现了Java消息服务(JMS)API,用于提供一个通用的消息交换平台。在这个上下文中,可能是因为应用依赖于ActiveMQ来发送和接收消息,所以需要配置ActiveMQ的主机名。`mvn spring-boot:run`是一个Maven命令,用于在开发环境中运行Spring Boot应用。`-Drun.arguments`用来传递JVM参数,如`-Xmx256m`和`-Xms128m`分别设置了最大内存分配和初始内存分配。`-Dactivemq.hostname`则是用来指定ActiveMQ服务的主机名,这里指定了"localhost"表示本地运行。 标签"Java"简单直接,说明该Docker镜像及底层应用是使用Java语言编写的。Java作为一门历史悠久的编程语言,在企业级应用开发中具有广泛的应用,尤其在构建企业级应用框架方面具有先天的优势,而Spring Boot为Java应用的快速开发和部署提供了便利。 最后,压缩包子文件的文件名称列表显示为"docker-message-client-master",说明这是一个代码库的压缩文件,"master"通常指的是版本控制系统(如Git)中的主分支。在GitHub等代码托管平台中,"master"分支代表项目的主分支,是项目的稳定版本。"docker-message-client-master"表明这个压缩文件是从代码仓库的主分支导出的。 将上述知识点汇总,可以总结出以下几点: 1. "docker-message-client"是一个Docker化的邮件客户端应用,用于测试企业消息传递系统。 2. 应用基于Java 8+和Spring Boot框架开发,利用了Spring Boot的便利性进行快速开发和部署。 3. 应用的当前版本主要是作为一个测试工具,不适合直接用于生产环境。 4. 该应用在本地运行时需要连接到ActiveMQ服务器,ActiveMQ作为一个消息代理,为应用提供消息传递服务。 5. 应用的代码库可以通过"docker-message-client-master"这个压缩包获取,通常包含源代码和所有必要的配置文件。

相关推荐

filetype

2025-07-15T01:47:13.079564Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2025-07-15T01:47:13.085230Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2025-07-15T01:47:13.085268Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2025-07-15T01:47:13.089551Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. 2025-07-15T01:47:13.091858Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:47:13.092032Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist 2025-07-15T01:47:13.092048Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition. 2025-07-15T01:47:13.092168Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-host-cache'. 2025-07-15T01:47:13.092876Z 0 [ERROR] [MY-010119] [Server] Aborting 2025-07-15T01:47:14.634541Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.3) MySQL Community Server - GPL. 2025-07-15T01:47:14.634553Z 0 [System] [MY-015016] [Server] MySQL Server - end. 2025-07-15 01:48:14+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.3-1.el9 started. 2025-07-15 01:48:15+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2025-07-15 01:48:15+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.3-1.el9 started. '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' 2025-07-15T01:48:15.303942Z 0 [System] [MY-015015] [Server] MySQL Server - start. 2025-07-15T01:48:15.484047Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.3) starting as process 1 2025-07-15T01:48:15.489065Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2025-07-15T01:48:15.826051Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. mysqld: Table 'mysql.plugin' doesn't exist 2025-07-15T01:48:15.987952Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure. 2025-07-15T01:48:15.988248Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:48:15.988425Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:48:15.988643Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:48:15.988936Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:48:15.989117Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:48:15.989241Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:48:15.989393Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:48:16.029511Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2025-07-15T01:48:16.102642Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2025-07-15T01:48:16.109042Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2025-07-15T01:48:16.109065Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2025-07-15T01:48:16.112856Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory. 2025-07-15T01:48:16.113111Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:48:16.113337Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist 2025-07-15T01:48:16.113352Z 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition. 2025-07-15T01:48:16.113509Z 0 [ERROR] [MY-000068] [Server] unknown option '--skip-host-cache'. 2025-07-15T01:48:16.114316Z 0 [ERROR] [MY-010119] [Server] Aborting 2025-07-15T01:48:17.655908Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.3) MySQL Community Server - GPL. 2025-07-15T01:48:17.655921Z 0 [System] [MY-015016] [Server] MySQL Server - end. 2025-07-15 01:49:17+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.3-1.el9 started. 2025-07-15 01:49:18+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2025-07-15 01:49:18+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.3-1.el9 started. '/var/lib/mysql/mysql.sock' -> '/var/run/mysqld/mysqld.sock' 2025-07-15T01:49:18.325189Z 0 [System] [MY-015015] [Server] MySQL Server - start. 2025-07-15T01:49:18.503797Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.3) starting as process 1 2025-07-15T01:49:18.508845Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started. 2025-07-15T01:49:18.843299Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended. mysqld: Table 'mysql.plugin' doesn't exist 2025-07-15T01:49:19.009659Z 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure. 2025-07-15T01:49:19.009978Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:49:19.010198Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:49:19.010416Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:49:19.010663Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:49:19.010788Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:49:19.010943Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:49:19.011062Z 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables 2025-07-15T01:49:19.050620Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2025-07-15T01:49:19.125374Z 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. T

filetype

还是报错ity.", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "deprecation.elasticsearch", "timestamp": "2025-07-16T08:40:58,408Z", "level": "CRITICAL", "component": "o.e.d.x.s.s.SecurityStatusChangeListener", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "The default behavior of disabling security on basic licenses is deprecated. In a later version of Elasticsearch, the value of [xpack.security.enabled] will default to \"true\" , regardless of the license level. See https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html to enable security, or explicitly disable security by setting [xpack.security.enabled] to false in elasticsearch.yml", "key": "security_implicitly_disabled", "category": "security", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:02,680Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateIndexService", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "[.ds-.logs-deprecation.elasticsearch-default-2025.07.16-000001] creating index, cause [initialize_data_stream], templates [.deprecation-indexing-template], shards [1]/[1]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:02,695Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "updating number_of_replicas to [0] for indices [.ds-.logs-deprecation.elasticsearch-default-2025.07.16-000001]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:02,711Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateDataStreamService", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "adding data stream [.logs-deprecation.elasticsearch-default] with write index [.ds-.logs-deprecation.elasticsearch-default-2025.07.16-000001], backing indices [], and aliases []", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:02,814Z", "level": "INFO", "component": "o.e.x.i.IndexLifecycleTransition", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "moving index [.ds-.logs-deprecation.elasticsearch-default-2025.07.16-000001] from [null] to [{\"phase\":\"new\",\"action\":\"complete\",\"name\":\"complete\"}] in policy [.deprecation-indexing-ilm-policy]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:02,862Z", "level": "INFO", "component": "o.e.x.i.IndexLifecycleTransition", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "moving index [.ds-.logs-deprecation.elasticsearch-default-2025.07.16-000001] from [{\"phase\":\"new\",\"action\":\"complete\",\"name\":\"complete\"}] to [{\"phase\":\"hot\",\"action\":\"unfollow\",\"name\":\"branch-check-unfollow-prerequisites\"}] in policy [.deprecation-indexing-ilm-policy]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:02,894Z", "level": "INFO", "component": "o.e.x.i.IndexLifecycleTransition", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "moving index [.ds-.logs-deprecation.elasticsearch-default-2025.07.16-000001] from [{\"phase\":\"hot\",\"action\":\"unfollow\",\"name\":\"branch-check-unfollow-prerequisites\"}] to [{\"phase\":\"hot\",\"action\":\"rollover\",\"name\":\"check-rollover-ready\"}] in policy [.deprecation-indexing-ilm-policy]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:02,931Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.ds-.logs-deprecation.elasticsearch-default-2025.07.16-000001][0]]]).", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:03,034Z", "level": "INFO", "component": "o.e.c.m.MetadataMappingService", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "[.ds-.logs-deprecation.elasticsearch-default-2025.07.16-000001/JsTb5E1sRIOiz3sY3tW0kQ] update_mapping [_doc]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:07,882Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateIndexService", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "[.ds-ilm-history-5-2025.07.16-000001] creating index, cause [initialize_data_stream], templates [ilm-history], shards [1]/[0]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:07,885Z", "level": "INFO", "component": "o.e.c.m.MetadataCreateDataStreamService", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "adding data stream [ilm-history-5] with write index [.ds-ilm-history-5-2025.07.16-000001], backing indices [], and aliases []", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:07,947Z", "level": "INFO", "component": "o.e.x.i.IndexLifecycleTransition", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "moving index [.ds-ilm-history-5-2025.07.16-000001] from [null] to [{\"phase\":\"new\",\"action\":\"complete\",\"name\":\"complete\"}] in policy [ilm-history-ilm-policy]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:07,985Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.ds-ilm-history-5-2025.07.16-000001][0]]]).", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:08,016Z", "level": "INFO", "component": "o.e.x.i.IndexLifecycleTransition", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "moving index [.ds-ilm-history-5-2025.07.16-000001] from [{\"phase\":\"new\",\"action\":\"complete\",\"name\":\"complete\"}] to [{\"phase\":\"hot\",\"action\":\"unfollow\",\"name\":\"branch-check-unfollow-prerequisites\"}] in policy [ilm-history-ilm-policy]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:08,049Z", "level": "INFO", "component": "o.e.x.i.IndexLifecycleTransition", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "moving index [.ds-ilm-history-5-2025.07.16-000001] from [{\"phase\":\"hot\",\"action\":\"unfollow\",\"name\":\"branch-check-unfollow-prerequisites\"}] to [{\"phase\":\"hot\",\"action\":\"rollover\",\"name\":\"check-rollover-ready\"}] in policy [ilm-history-ilm-policy]", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" } {"type": "server", "timestamp": "2025-07-16T08:41:08,346Z", "level": "ERROR", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "docker-cluster", "node.name": "d159dda0e54d", "message": "exception during geoip databases update", "cluster.uuid": "g0-4_sPkTYKzBSiHMkI5JA", "node.id": "lzOtT8kCQ9iTr8ImYmKEyQ" , "stacktrace": ["java.net.SocketTimeoutException: Connect timed out", "at sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:539) ~[?:?]", "at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:585) ~[?:?]", "at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?]", "at java.net.Socket.connect(Socket.java:666) ~[?:?]", "at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) ~[?:?]", "at sun.net.NetworkClient.doConnect(NetworkClient.java:178) ~[?:?]", "at sun.net.www.http.HttpClient.openServer(HttpClient.java:532) ~[?:?]", "at sun.net.www.http.HttpClient.openServer(HttpClient.java:637) ~[?:?]", "at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:?]", "at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:378) ~[?:?]", "at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) ~[?:?]", "at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1241) ~[?:?]", "at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1127) ~[?:?]", "at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) ~[?:?]", "at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1657) ~[?:?]", "at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1581) ~[?:?]", "at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529) ~[?:?]", "at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308) ~[?:?]", "at org.elasticsearch.ingest.geoip.HttpClient.lambda$get$0(HttpClient.java:55) ~[ingest-geoip-7.17.10.jar:7.17.10]", "at java.security.AccessController.doPrivileged(AccessController.java:571) ~[?:?]", "at org.elasticsearch.ingest.geoip.HttpClient.doPrivileged(HttpClient.java:97) ~[ingest-geoip-7.17.10.jar:7.17.10]", "at org.elasticsearch.ingest.geoip.HttpClient.get(HttpClient.java:49) ~[ingest-geoip-7.17.10.jar:7.17.10]", "at org.elasticsearch.ingest.geoip.HttpClient.getBytes(HttpClient.java:40) ~[ingest-geoip-7.17.10.jar:7.17.10]", "at org.elasticsearch.ingest.geoip.GeoIpDownloader.fetchDatabasesOverview(GeoIpDownloader.java:159) ~[ingest-geoip-7.17.10.jar:7.17.10]", "at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:147) ~[ingest-geoip-7.17.10.jar:7.17.10]", "at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:284) [ingest-geoip-7.17.10.jar:7.17.10]", "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:100) [ingest-geoip-7.17.10.jar:7.17.10]", "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:46) [ingest-geoip-7.17.10.jar:7.17.10]", "at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:42) [elasticsearch-7.17.10.jar:7.17.10]", "at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:777) [elasticsearch-7.17.10.jar:7.17.10]", "at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) [elasticsearch-7.17.10.jar:7.17.10]", "at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [?:?]", "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [?:?]", "at java.lang.Thread.run(Thread.java:1623) [?:?]"] }用了这个命令podman run -d \ --name elasticsearch \ --network janus-net \ -p 9200:9200 \ -p 9300:9300 \ -e "discovery.type=single-node" \ -e "ES_SECURITY_ENABLE=true" \ -e "ELASTIC_PASSWORD=iaas@123" \ -v /opt/geoip:/usr/share/elasticsearch/config/elasticsearch/geoip \ docker.io/library/elasticsearch:7.17.10 中这个GeoLite2-City.mmdb文件已下载