Cuda 10 inside a container?

Im having to develop older TF1.4 that only works with Cuda 10 and never TF2.1 code that needs 10.2.

Is there any way to run a container with Cuda10 inside?

Any advice?

On Tegra? I think you’ll have to reflash with an older JetPack or modify your existing on in some unholy manner to have both versions installed at once (by installing cuda from .deb for example).

On x86 you should be able to simply FROM or docker pull one of these:
https://hub.docker.com/r/nvidia/cuda/tags