# Ray Docker Image Python Versions

**URL:** <https://discuss.ray.io/t/ray-docker-image-python-versions/14924>\
**Category:** Uncategorized\
**Created:** [June 10, 2024, 7:08pm UTC](https://discuss.ray.io/t/ray-docker-image-python-versions/14924 "2024-06-10T19:08:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaykaye31](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@jaykaye31](https://discuss.ray.io/u/jaykaye31)\
**Post date:** [June 10, 2024, 7:08pm UTC](https://discuss.ray.io/t/ray-docker-image-python-versions/14924/1 "2024-06-10T19:08:31Z")

</div>

Hey there,

I’m currently using the `nightly-py311-aarch64` Ray Docker image in a project. My assumption was it would be using Python 3.11. However, the python build arg has it pinned at 3.8. I’m assuming I’m missing something?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/ray/original/2X/b/bca759e637f89af8944de34998e6176c4b315f62.png)

---

<div class="post-metadata">

**Author:** ![Lonnie\_Liu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/lonnie_liu/32/6256_2.png) [@Lonnie\_Liu](https://discuss.ray.io/u/Lonnie_Liu)\
**Post date:** [June 25, 2024, 5:51am UTC](https://discuss.ray.io/t/ray-docker-image-python-versions/14924/2 "2024-06-25T05:51:59Z")

</div>

Hi, I am Lonnie. I work for Anyscale on the “Release and Engineering Efficiency” team.

The `ARG` you see in the history is the default argument value recorded in the Dockerfile:

> <https://github.com/ray-project/ray/blob/70a8152766cb4e3e2273dd85cae9cf0cc6bd2537/docker/base-deps/Dockerfile#L16>

When building the image we always overwrite that.

In the actual image, the python version for 311 images are 3.11.x

This is what I run and get this morning:

```auto
$ docker run --rm -ti rayproject/ray:nightly-py311-aarch64 python --version
Python 3.11.9

```

Hope this answers your question.

---

<div class="post-metadata">

**Author:** ![jaykaye31](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@jaykaye31](https://discuss.ray.io/u/jaykaye31)\
**Post date:** [June 25, 2024, 1:20pm UTC](https://discuss.ray.io/t/ray-docker-image-python-versions/14924/3 "2024-06-25T13:20:51Z")

</div>

Hi Lonnie, that’s very helpful thank you! Makes sense.
