# Run elasticsearch code source without docker

**URL:** <https://discuss.elastic.co/t/run-elasticsearch-code-source-without-docker/243060>\
**Category:** Elasticsearch\
**Created:** [July 29, 2020, 1:26pm UTC](https://discuss.elastic.co/t/run-elasticsearch-code-source-without-docker/243060 "2020-07-29T13:26:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheHunter1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thehunter1/32/80190_2.png) [@TheHunter1](https://discuss.elastic.co/u/TheHunter1)\
**Post date:** [July 29, 2020, 1:26pm UTC](https://discuss.elastic.co/t/run-elasticsearch-code-source-without-docker/243060/1 "2020-07-29T13:26:13Z")

</div>

Hello everybody,

I am trying to run elasticsearch code source, and when I try to run the command `./gradlew assemble`

I am getting this exception:

```auto
=======================================
Elasticsearch Build Hamster says Hello!
  Gradle Version : 6.5
  OS Info : Linux 5.4.0-42-generic (amd64)
  JDK Version : 14 (JDK)
  JAVA_HOME : /usr/lib/jvm/java-14-openjdk-amd64
  Random Testing Seed : B1825225074616B5
  In FIPS 140 mode : false
=======================================

FAILURE: Build failed with an exception.

* What went wrong:
a problem occurred while using Docker from [/usr/bin/docker] yet it is required to run the following tasks: 
:distribution:docker:buildAarch64DockerImage
:distribution:docker:buildAarch64OssDockerImage
:distribution:docker:buildDockerImage
:distribution:docker:buildOssDockerImage
the problem is that Docker exited with exit code [1] with standard error output:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
you can address this by attending to the reported issue, or removing the offending tasks from being executed.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s

```

can you tell me please how can I build it without docker

Thanks for your help

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [July 30, 2020, 10:38am UTC](https://discuss.elastic.co/t/run-elasticsearch-code-source-without-docker/243060/2 "2020-07-30T10:38:03Z")

</div>

Docker is not running on this host. Suggest 'service docker start' or equivalent and make sure "docker ps" runs without error (may have no results, which is fine).

---

<div class="post-metadata">

**Author:** ![TheHunter1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thehunter1/32/80190_2.png) [@TheHunter1](https://discuss.elastic.co/u/TheHunter1)\
**Post date:** [July 30, 2020, 1:38pm UTC](https://discuss.elastic.co/t/run-elasticsearch-code-source-without-docker/243060/3 "2020-07-30T13:38:09Z")

</div>

thanks for your answer, it's me who deactivated cause I wanna build it without docker,  
tell me please if is there an option to build elasticsearch without docker !

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [July 30, 2020, 1:43pm UTC](https://discuss.elastic.co/t/run-elasticsearch-code-source-without-docker/243060/4 "2020-07-30T13:43:04Z")

</div>

I have no idea; never built it, suggest check docs or options 😉 but maybe at least use Docker to get it working, then optimize for your scenario, etc. Good luck.

---

<div class="post-metadata">

**Author:** ![TheHunter1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thehunter1/32/80190_2.png) [@TheHunter1](https://discuss.elastic.co/u/TheHunter1)\
**Post date:** [July 31, 2020, 10:03am UTC](https://discuss.elastic.co/t/run-elasticsearch-code-source-without-docker/243060/5 "2020-07-31T10:03:30Z")

</div>

Yes I am gonna reactive it again, till I find a solution to build it without a docker

Thanks for your help ^ ^

---

<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:** [August 28, 2020, 10:03am UTC](https://discuss.elastic.co/t/run-elasticsearch-code-source-without-docker/243060/6 "2020-08-28T10:03:39Z")

</div>

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