Jetson orin upgrade to jetpack 6.x cannot use docker image with cuda 11.4 installed

I upgraded jetson orin to jetpack 6.x
It works OK with docker images like nvcr.io/nvidia/l4t-cuda:12.2.12-devel, but when try use old docker image nvcr.io/nvidia/l4t-cuda:11.4.19-devel to run deviceQuery. It says

./deviceQuery

./deviceQuery Starting…

CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 35
→ CUDA driver version is insufficient for CUDA runtime version
Result = FAIL

Hi,

There are some dependencies on the GPU driver.
So please use the container that uses the same L4T branch. For JetPack 6, it should be r36.2.

Thanks.