`error:0A000114:SSL routines::uninitialized` on Ubuntu, but not on Debian

version: '3.9'
services:
  app:
    image: akito13/zoominvitr
    container_name: zoominvitr
    user: "1000:1000"
    restart: on-failure
    depends_on:
      - redis
    volumes:
      - ./zoominvitr/app:/data

  redis:
    image: redis:7-alpine
    container_name: zoominvitr_db
    user: "1000:1000"
    restart: on-failure
    # Redis Options
    # https://stackoverflow.com/a/74031727
    # https://raw.githubusercontent.com/redis/redis/7.0/redis.conf
    command: redis-server --save 20 1 --loglevel warning
    volumes:
      - ./zoominvitr/database:/data

Running this on Debian 10 works.
Running this on Ubuntu 22.04.2 LTS (Jammy Jellyfish) does not work.

No idea, why Docker would care about the host OS so much.

Which container gives you the error message?

Since Debian usually uses older kernels than Ubuntu, I would guess a kernel issue. Then I found a similar issue on GitHub

The error message in the first post and the answer indicates that some kernel modules need to be loaded.

Since containers are mainly just isolated processes sharing the kernel with the host, fixing missing kernel modules might help you.

Thank you for the suggestion. It seems like this is an error in one of the language’s standard library modules.

I also checked, that the tls module is already loaded.

Thanks, anyway!