# Elastic Stack 6 Beta: Docker-Images + User/PW

**URL:** <https://discuss.elastic.co/t/elastic-stack-6-beta-docker-images-user-pw/103844>\
**Category:** Elasticsearch\
**Created:** [October 13, 2017, 7:25am UTC](https://discuss.elastic.co/t/elastic-stack-6-beta-docker-images-user-pw/103844 "2017-10-13T07:25:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![la3mmchen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/la3mmchen/32/23018_2.png) [@la3mmchen](https://discuss.elastic.co/u/la3mmchen)\
**Post date:** [October 13, 2017, 7:25am UTC](https://discuss.elastic.co/t/elastic-stack-6-beta-docker-images-user-pw/103844/1 "2017-10-13T07:25:44Z")

</div>

Hi,

according to the docu (1) there should be still the user elastic:changeme for the docker image.

Obviously, it isn't there any more:

```
[elasticsearch@3b31c58a02db ~]$ curl elastic:changeme@localhost:9200/_cluster/health?pretty
{
  "error" : {
    "root_cause" : [
      {
        "type" : "security_exception",
        "reason" : "failed to authenticate user [elastic]",
        "header" : {
          "WWW-Authenticate" : "Basic realm=\"security\" charset=\"UTF-8\""
        }
     }
    ],

```

I've seen the XPack/User stuff. Anyhow, is there any method to automatically create a password during startup phase? it would be useful for demo environments based on docker(-compose) or further automation.

as i've understood with elastic stack 6 there will be the need for an elasticsearch "seed hosts" that is used to handle the initial password stuff. Or handle the user stuff via curl requests against the password api.

bye  
alex

[https://www.elastic.co/guide/en/elasticsearch/reference/6.0/docker.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/docker.html)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 10, 2017, 7:25am UTC](https://discuss.elastic.co/t/elastic-stack-6-beta-docker-images-user-pw/103844/2 "2017-11-10T07:25:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
