Installation on OS vs container

Hi, does it make sense to install the environment (git, python, nodejs…) directly on the OS or install everything as container? what are pros and cons? thanks

You have to install everything in the container. Host OS partition is small, is stateless & read only, is replaced during OS upgrades, etc. You can read more about balenaOS here.

We have plenty of base images you can use (with Node, Python, …) or you can create your own from scratch.

1 Like

Also What happens during a balena host OS update? explains it.

As I wrote in the previous post, don’t do this and use containers.

1 Like