Podman is like Docker but it doesn't require root privileges ;)
Install podman desktop: https://podman-desktop.io/
Make sure compose is setup and Docker compatibility is enabled.
Instructions: https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docker.html#docker-compose-file
Check the cluster's health from the command line
curl -k -u "elastic:${ELASTIC_PASSWORD}" https://localhost:9200/_cluster/health
-k = skip TLS validation
-u = provide username:password
Open a browser and visit http://localhost:5601
Your cluster might fail to start due to failing bootstrap checks. Find the following workarounds below.
Set bootstrap.memory_lock=false
in your docker-compose.yml file to skip this bootstrap checks. This is of course nothing you'd do in production!
bootstrap.memory_lock=false
In production you would want to run the bootstrap checks to ensure your node is configured properly. Here you find the important settings that must be set:
https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html