Open parksurk opened 5 years ago
This seems to be because --net=host doesn't work as expected in Docker for Mac. It's a known (and very irritating) issue.
Possible solutions are to use $DOCKER_HOST environment variable if it's set. Or do a manual port mapping of port 5005 (which is what is used by the environment binary to communicate with the python client).
More on this here : https://dev.to/bufferings/access-host-from-a-docker-container-4099
@awjuliani : Can you confirm that any other ports do not need to be mapped ?
For communication between Unity & Python only port 5005 needs to be mapped (assuming worker_id
is set to 0. If it is set to a larger number, then port 5005 + worker_id
needs to be mapped as well).
Hi~ I am doing “Testing Challenge Evaluation - Run Docker image” in “https://github.com/Unity-Technologies/obstacle-tower-challenge/README.md” like below …