This looks like you've built against libssl1.1 on the host, but don't have it installed on the container; as far as I can tell from a Debian package search for libssl, this implies that your host has a libssl-dev from Debian 11 or older installed, and thus something has built against libssl1.1 instead of libssl3.