# Need help with building Docker image to deploy K8, error relates to Auto-configuration

**URL:** https://discuss.elastic.co/t/need-help-with-building-docker-image-to-deploy-k8-error-relates-to-auto-configuration/353426
**Category:** Elastic Cloud on Kubernetes (ECK)
**Tags:** docker
**Created:** [February 16, 2024, 2:34am UTC](https://discuss.elastic.co/t/need-help-with-building-docker-image-to-deploy-k8-error-relates-to-auto-configuration/353426 "2024-02-16T02:34:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![SippingOnesAndZeros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sippingonesandzeros/32/128590_2.png) [@SippingOnesAndZeros](https://discuss.elastic.co/u/SippingOnesAndZeros)
#### Post date: [February 16, 2024, 2:34am UTC](https://discuss.elastic.co/t/need-help-with-building-docker-image-to-deploy-k8-error-relates-to-auto-configuration/353426/1 "2024-02-16T02:34:21Z")

</div>

Hi,

I am trying to built elastic data node on a Linux, Redhat UBI 8.

I can't get the elasticsearch to launch property to accept API calls. When the elasticsearch start, the log has this error.

Auto-configuration will not generate a password for the elastic built-in superuser, as we cannot determine if there is a terminal attached to the elasticsearch process.

When I try to check that elasticsearch is running using the command from this URL: [Install Elasticsearch from archive on Linux or MacOS | Elasticsearch Guide [8.12] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/targz.html#_check_that_elasticsearch_is_running).

I don't get the same output showing ES is running.

I can't use the image from Docker website; blocked from corporate policy.

What do I need to do to deploy the ES in K8?

---

<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, 2024, 2:35am UTC](https://discuss.elastic.co/t/need-help-with-building-docker-image-to-deploy-k8-error-relates-to-auto-configuration/353426/2 "2024-03-15T02:35:15Z")

</div>

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