google / gvisor

Application Kernel for Containers

Home Page:https://gvisor.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ElasticSearch does not run

nlacasse opened this issue · comments

This requires some socket ioctls that are not currently implemented.

Can't guarantee anything will come out of it but I can take a look into this

That would be great! Here are some pointers:

Follow these instructions to enable strace and run elasticsearch. Look for the log file: runsc.log.*.boot -- this represents the log for the Sentry process. The log will have a dump of all syscalls, look for ioctl calls that have failed: ioctl.*error.

The entry point for the the ioctl syscall in the Sentry is here.

Note: the elasticsearch image was failing to start due to not being able to find a loopback interface even though lo was present in the network interface list.

Adding --network=host to the runtime args gets me past the ES loopback interface lookup and to ioctl errors