# Filebeat docker container with python 3. How to?

**URL:** <https://discuss.elastic.co/t/filebeat-docker-container-with-python-3-how-to/260946>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 13, 2021, 7:42am UTC](https://discuss.elastic.co/t/filebeat-docker-container-with-python-3-how-to/260946 "2021-01-13T07:42:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sreekanth\_Mannari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sreekanth_mannari/32/82150_2.png) [@Sreekanth\_Mannari](https://discuss.elastic.co/u/Sreekanth_Mannari)\
**Post date:** [January 13, 2021, 7:42am UTC](https://discuss.elastic.co/t/filebeat-docker-container-with-python-3-how-to/260946/1 "2021-01-13T07:42:26Z")

</div>

docker run [docker.elastic.co/beats/filebeat:7.10.1](http://docker.elastic.co/beats/filebeat:7.10.1)

When I exec into above container and check Python version it is 2.7.5  
How can I upgrade the python version within container to use 3.x  
Or is there any other image with python3?

---

<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:** [February 10, 2021, 9:42am UTC](https://discuss.elastic.co/t/filebeat-docker-container-with-python-3-how-to/260946/2 "2021-02-10T09:42:30Z")

</div>

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