Já aumentei a memória da vm para 4GB. Detectei essa falha nos logs do container:
Suppressed: org.elasticsearch.client.ResponseException: method [GET], host [http://localhost:9001], URI [/_cluster/health?master_timeout=30s&level=cluster&wait_for_events=languid&timeout=30s&wait_for_status=yellow], status line [HTTP/1.1 503 Service Unavailable]
{"error":{"root_cause":[{"type":"master_not_discovered_exception","reason":null}],"type":"master_not_discovered_exception","reason":null},"status":503}
at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:331)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:301)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:276)
at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2699)
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2171)
... 28 common frames omitted
2022.08.01 21:34:28 INFO web[][o.s.p.ProcessEntryPoint] Hard stopping process
2022.08.01 21:34:28 INFO web[][o.s.s.p.d.EmbeddedDatabase] Embedded database stopped
2022.08.01 21:34:28 INFO app[][o.s.a.SchedulerImpl] Process[web] is stopped
2022.08.01 21:34:28 WARN app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 143
2022.08.01 21:34:28 INFO app[][o.s.a.SchedulerImpl] Process[es] is stopped
2022.08.01 21:34:28 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped