Windows 10 hyper v cant connect to host to enroll in Rancher

ah finally i found the solution…thanks to guys in my office and this video…

run

docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -i sh

this will allow the rancher enrolling statement to run