# Custom Logstash docker image creation

**URL:** <https://discuss.elastic.co/t/custom-logstash-docker-image-creation/99496>\
**Category:** Logstash\
**Created:** [September 5, 2017, 10:08pm UTC](https://discuss.elastic.co/t/custom-logstash-docker-image-creation/99496 "2017-09-05T22:08:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sayeedch](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@sayeedch](https://discuss.elastic.co/u/sayeedch)\
**Post date:** [September 5, 2017, 10:08pm UTC](https://discuss.elastic.co/t/custom-logstash-docker-image-creation/99496/1 "2017-09-05T22:08:13Z")

</div>

Is there a guide that describes how to create your own Logstash image, especially for Kubernetes/Openshift?

I'm looking for something similar to this:

> **[How to make a Dockerfile for Elasticsearch
	  	 | Elastic](https://www.elastic.co/blog/how-to-make-a-dockerfile-for-elasticsearch)**
>
> How to make a Dockerfile for ElasticsearchDocker containers gives you a way to ship and run applications with their environment in an isolated and repeatable way. While there are a myriad of Docker im...

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 6, 2017, 5:38am UTC](https://discuss.elastic.co/t/custom-logstash-docker-image-creation/99496/2 "2017-09-06T05:38:13Z")

</div>

Why do you need to create your own image? Why can't you either extend the existing images or use the existing dockerfiles as a starting point?

---

<div class="post-metadata">

**Author:** ![sayeedch](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@sayeedch](https://discuss.elastic.co/u/sayeedch)\
**Post date:** [September 6, 2017, 7:23am UTC](https://discuss.elastic.co/t/custom-logstash-docker-image-creation/99496/3 "2017-09-06T07:23:06Z")

</div>

I have to use company approved images, not permitted to do things like yum installs. We don't have access to public registries e.g. Docker Hub. We use our own internal ones.

---

<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:** [October 4, 2017, 7:23am UTC](https://discuss.elastic.co/t/custom-logstash-docker-image-creation/99496/4 "2017-10-04T07:23:19Z")

</div>

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