# Node-RED 3.0.0-beta.3 Docker containers dropping Python2

**URL:** https://discourse.nodered.org/t/node-red-3-0-0-beta-3-docker-containers-dropping-python2/64067
**Category:** News
**Tags:** docker
**Created:** [17 June 2022 10:49 UTC](https://discourse.nodered.org/t/node-red-3-0-0-beta-3-docker-containers-dropping-python2/64067 "2022-06-17T10:49:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [17 June 2022 10:49 UTC](https://discourse.nodered.org/t/node-red-3-0-0-beta-3-docker-containers-dropping-python2/64067/1 "2022-06-17T10:49:56Z")

</div>

As part of the updates for 3.0.0 the docker builds were updated to build against the NodeJS container node:16-alpine (and similarly for NodeJS 14 and 18). These containers track the latest Alpine base container to ensure they pick up all the latest updates.

These containers are now based on Alpine 3.16. As part of the move from 3.15 to 3.16 Alpine has dropped Python2.

Python2 went EoL in April 2020 and as such enough time should have passed for everybody to move up to using Python 3.

As Node-RED 3.0.0 is a major version change and as such can contain breaking changes we will be honouring this change and also dropping Python2 support in the Docker containers. It is possible that this may break some nodes.

If you find a broken node please raise an issue against the node to get it updated (it may well be a native dependency that needs updating). If needed you can continue to run on Node-RED 2.2.2 until it is fixed, or you can build a custom Node-RED container based on Debian Buster rather than Alpine that will still contain Python2 (for now). Instructions for building Debian based containers are in the [node-red/node-red-docker](https://github.com/node-red/node-red-docker) README.md on github.

You can try the new 3.0.0-beta.3 builds as nodered/node-red-dev:v3.0.0-beta.3 (and similar tags on docker hub [Docker Hub](https://hub.docker.com/repository/docker/nodered/node-red-dev/tags?page=1&ordering=last_updated))

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [17 June 2022 20:42 UTC](https://discourse.nodered.org/t/node-red-3-0-0-beta-3-docker-containers-dropping-python2/64067/2 "2022-06-17T20:42:13Z")

</div>

Is there a command I can run to revert to beta2?

---

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [17 June 2022 21:01 UTC](https://discourse.nodered.org/t/node-red-3-0-0-beta-3-docker-containers-dropping-python2/64067/3 "2022-06-17T21:01:10Z")

</div>

Considering the containers are all explicitly tagged (none are tagged as `latest` or `beta`), you should just need to stop the beta.3 container and restart using the beta.2 tagged container

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [17 June 2022 21:02 UTC](https://discourse.nodered.org/t/node-red-3-0-0-beta-3-docker-containers-dropping-python2/64067/4 "2022-06-17T21:02:40Z")

</div>

Sorry wrong thread - will repost in correct thread!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [16 August 2022 21:03 UTC](https://discourse.nodered.org/t/node-red-3-0-0-beta-3-docker-containers-dropping-python2/64067/5 "2022-08-16T21:03:36Z")

</div>

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