Installing 2 python kernels in docker-stacks

Is it possible to install two different python kernels in the same docker-stack? I noticed that on some of the Jupyter docker-stacks, like all-spark-notebook, there’s different kernels for different environments.

I would like to have two notebooks, one which has a library which only runs on python 3.6 and has older dependencies, and another which runs on python 3.7 with the newest libraries. Each one of them would use a different kernel with their appropriate packages.

Thank you