Hello Fabian,
You do not need to generate the files into docker but on any machine where openssl is available. What you have to do is to transfer the files (and set proper permissions) into your Axigen working directory (which you should have into a dedicated docker volume) and configure the signing rule as mentioned by Mohammad / your documentation reference.
HTH,
Ioan