Error in GBLIC version after upgrading to Ubuntu 22.04

I am using a docker-in-docker approach, where I call docker from within docker, on my local machine. The security is no big deal to me, so I’m fine with the approach.

However, I just upgraded my laptop to Ubuntu 22.04, and I started getting the following error:

[2024-02-20, 00:23:52 UTC] {} INFO - docker: /lib/x86_64-linux-gnu/ version `GLIBC_2.32’ not found (required by docker)

The issue is that the latest version of astronomer I am using:

Uses GLIBC 2.31, whereas Ubuntu 22.04 uses GLIB 2.35. I confirmed this by running ldd --version on my machine, and in the astro airflow container.

Is there any way around this? I guess that the latest version of Astronomer is behind Ubuntu 22.04, and thus it can’t work.

I am so confused and kind of desperate for help, I greatly appreciate any support or ideas!