# Bash: ./bin/elasticsearch: No such file or directory

**URL:** <https://discuss.elastic.co/t/bash-bin-elasticsearch-no-such-file-or-directory/325506>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [February 14, 2023, 6:33pm UTC](https://discuss.elastic.co/t/bash-bin-elasticsearch-no-such-file-or-directory/325506 "2023-02-14T18:33:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![samidha\_dubey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samidha_dubey/32/117245_2.png) [@samidha\_dubey](https://discuss.elastic.co/u/samidha_dubey)\
**Post date:** [February 14, 2023, 6:33pm UTC](https://discuss.elastic.co/t/bash-bin-elasticsearch-no-such-file-or-directory/325506/1 "2023-02-14T18:33:31Z")

</div>

Hello i am facing issue while setting up users for my ELK stack,

I setup ELK on docker so my ELK is running as a docker container i used sebp/elk image and my container is running fine i can access kibana dashboard, i am folowing the official guide [Set up minimal security for Elasticsearch | Elasticsearch Guide [8.6] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-minimal-setup.html#security-create-builtin-users)

the issue i am facing while setting up users for my Elasticsearch is - /bin/elasticsearch  
bash: ./bin/elasticsearch: No such file or directory, also i checked cd /usr/share/elasticsearch/bin/  
path but getting same error  
bash: cd: /usr/share/elasticsearch/bin/: No such file or directory

please let me know wahat i am missing

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 14, 2023, 11:31pm UTC](https://discuss.elastic.co/t/bash-bin-elasticsearch-no-such-file-or-directory/325506/2 "2023-02-14T23:31:29Z")

</div>

Welcome to our community! 😃

> [@samidha\_dubey](#):
>
> i used sebp/elk image

This isn't an official image so it may not totally match the documentation we have. You might need to check with the creator of the image for the location.

---

<div class="post-metadata">

**Author:** ![samidha\_dubey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samidha_dubey/32/117245_2.png) [@samidha\_dubey](https://discuss.elastic.co/u/samidha_dubey)\
**Post date:** [February 15, 2023, 6:40am UTC](https://discuss.elastic.co/t/bash-bin-elasticsearch-no-such-file-or-directory/325506/3 "2023-02-15T06:40:11Z")

</div>

Hello, Thanks for the response i used this image form below link

> **[elk-docker](https://elk-docker.readthedocs.io/)**
>
> None

---

<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:** [March 15, 2023, 6:40am UTC](https://discuss.elastic.co/t/bash-bin-elasticsearch-no-such-file-or-directory/325506/4 "2023-03-15T06:40:45Z")

</div>

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