As the development environment in our lab is based on docker. So I need to find some way to use webots in docker.
When I am using this image, I get the same error about X display as I download webots in my docker.
The problem is how to start webots and open a wbt file without GUI command in the container?
And is EXPOSE 1234 mean the port in the docker, but I can't visit localhost:1234 even I run the image in my mac.
Btw, I have also tried to connect docker with vnc before I found this repository, open webots in GUI with vnc and start the simulator, but the GPU can't be used in webots. (I can run tensorflow-gpu in the docker). is there any limit in webots?
Thank you for your Docker.
As the development environment in our lab is based on docker. So I need to find some way to use webots in docker.
When I am using this image, I get the same error about X display as I download webots in my docker.
The problem is how to start webots and open a wbt file without GUI command in the container?
And is
EXPOSE 1234
mean the port in the docker, but I can't visit localhost:1234 even I run the image in my mac.Btw, I have also tried to connect docker with vnc before I found this repository, open webots in GUI with vnc and start the simulator, but the GPU can't be used in webots. (I can run tensorflow-gpu in the docker). is there any limit in webots?