crowdrender / cr-docker

The official repository for the CrowdRender docker image
59 stars 8 forks source link

--net=host option doesn't work on windows #15

Closed Jeducious closed 2 years ago

Jeducious commented 2 years ago

What's up?

Dockers documentation reveals that the host driver is only available on linux, testing on both linux and windows confirms that using;

docker run -t \
 --name "Crowdrender-Server" \
 -e token=<login_token> \
 --net=host \
zocker160/blender-crowdrender:latest

...doesn't work on windows. What's more is that there's no obvious warning about this in the readme.md file, nor from docker itself when running the above command in windows. So anyone using the instructions from the readme.md would likely not know where to start.

Good news is

As it turns out, the -p option works, this is described in the readme file, so I think a small modification to the documentation here on GitHub would go a long way since I've proved today you can use docker on windows with the crowdrender images. You just replace the --net=host option with -p 9669-9694:9669-9694 which causes docker to forward those ports to the container.

zocker-160 commented 2 years ago

This is documented in the readme, just the wording is bad, since it says docker desktop which I would expect Windows users to use. On the other hand, if you are on Windows, using Docker sounds like a bad idea, because you leave performance on the table.

Jeducious commented 2 years ago

Closed by #14