You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running it an issue where we cannot run an elasticsearch container on boot2docker running on OSX while bind mounting the data and config directories. Our previous work around was to drop the chown and gosu lines from the docker_entrypoint.sh and run as root in the container since this was just a local dev environment. However, the latest dockerfile image is now checking if elasticsearch us running as root and bailing if it is. The new hacky fix is to run 'usermod -u 1000 elasticsearch' before chown in the entry point. From reading previous similar issues, it appears that there was a plan to use environment variables to let elasticsearch optionally run as root, but that no longer appears to be the case. Is there a better less fragile way to get this running?