Need to set up a 3 node cluster using docker on my M1 Mac, using docker desktop/docker-compose.
I am getting the following error:
2023-10-19 10:33:05 ERROR:  bootstrap checks failed. You must address the points described in the following  lines before starting Elasticsearch. 2023-10-19 10:33:05 bootstrap check failure  of : max file descriptors  for elasticsearch process is too low, increase to at least 
I have followed the documentation to try and set the vm.max_map_count setting to no avail.
Have tried using screen, there is no tty session to connect to.
Have tried using docker-machine ssh - There are no docker-machines to connect to