Can anyone guide me on how to install docker 24.0.6 on SLES-SP2
There is no supported Docker-CE version for SLES. You will have to live with whatever SUSE maintains and supports in their package repositories. You would need to ask SUSE’s support channels about it.
For reference, here is the support matrix (link). It’s for the open-source “engine”, but there are a lot of links on the page which will bring you to “Docker Desktop”.