How to change default passwords for elastic and kibana users with in the elasticsearch docker image itself?
Once ES is started, you can change it with the first curl commands seen here:
https://www.elastic.co/guide/en/x-pack/5.1/security-getting-started.html#security-getting-started