I use docker in WSL2 Ubuntu 20.04 and it finally works out.
cd isaacgym/docker
bash build.sh
bash run.sh
and clone the IsaacGymEnvs ,follow the README.md
because I don’t have a display, so I set headless=True
in the docker
python train.py task=Ant headless=True