NVIDIA CUDA version

OS: Ubuntu
Currently image available for nvidia cuda on hub is for version 11.4.2, whereas latest cuda available from nvidia is 11.5
We tried installing cuda 11.4.2 on ubuntu but automatically installed version 11.5, whereas hub has docker image of 11.4.2. So we are unable to proceed. Did someone else faced same issue?