Changing docker root directory in windows 11

This is a blog for my future reference. Normally docker files are installed in C drive. This consumes a lot of data from my C drive. To avoid this , I changed the root directory using the below mentioned solution.

https://blog.codetitans.pl/post/howto-docker-over-wsl2-location/