Troubleshooting[edit]

Kibana does not start. Container logs show

{"type":"log","@timestamp":"2019-09-03T18:12:45Z","tags":["info","optimize"],"pid":1,"message":"Optimizing and caching bundles for opendistro-alerting, security-login, security-customerror, security-multitenancy, security-accountinfo, security-configuration, kibana, stateSessionStorageRedirect, status_page and timelion. This may take a few minutes"}
Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`

The first process spawns 2 additional node processes that uses a lot of CPU before eventually dying. This process starts over and over. Kibana only serves "Not Found" to any requests made to it via port 5601.

This occurred when processes were running as non-root. Attempting to run Kibana as a root container has the same result.

Solution[edit]

If the node process gets a SIGKILL, it most likely means it ran into a memory limitation set by the container. Raise the resource limits and try again. This fixed it for me.