Re: Options for running a legacy python 2.7 app in Debian 12
Xiyue Deng <manphiz@gmail.com> wrote:
> [-- text/plain, encoding quoted-printable, charset: utf-8, 61 lines --]
>
> Chris Green <cl@isbd.net> writes:
>
[snip]
> >
> > The ideal would be some sort of mini virtualbox type of environment
> > that supports python 2.7.
> >
>
> Using Docker/Podman to run a container with an old version of Linux
> distribution that support Python 2.7 could be the most power-saving
> option (e.g. Debian Bullseye a.k.a. oldstable.) Using a Docker means no
> hypervisor required and application running in a container runs at
> near-bear-metal speed thanks to kernel support. Additionally you got
> some level of isolation from your host so that some of the unsupported
> old Python 2 vulnerabilities are under control within your container
> (not bullet-proof, but still something.)
>
That sounds like a good idea, thank you, not a full-blown virtual
machine but somewhat in that direction. I did consider docker for
something a while ago but didn't actually do it, I'll have to have
another look.
--
Chris Green
·
Reply to: