openworm / OpenWorm

Repository for the main Dockerfile with the OpenWorm software stack and project-wide issues
http://openworm.org
MIT License
2.69k stars 212 forks source link

Docker : xhost command not found and no such container openworm #295

Closed moanra closed 4 years ago

moanra commented 5 years ago

docker

vtomole commented 5 years ago

Hey @moanra Can you give us more information? How did you set this up? What operating system are you using?

suzil commented 4 years ago

It looks like you are on Windows, so you need to have an X server running in order to access the xhost command. I don't know much about Windows, but you could try to use Cygwin.

Cygwin/X consists of an X server, X libraries, and nearly all of the standard X clients, such as xterm, xhost, xdpyinfo, xclock, xeyes, etc. Many more X programs are also packaged for Cygwin. See also the features and screenshots pages.

That said,

Currently Windows is not supported (see https://github.com/openworm/OpenWorm/issues/263); you will need Mac OS or Linux (or a virtual environment on Windows that runs either of those).

(source)

pgleeson commented 4 years ago

There have been some helper scripts for Windows added recently (build.cmd and run.cmd, see https://github.com/openworm/OpenWorm/pull/294) in the development branch (https://github.com/openworm/OpenWorm/tree/development) and these work fine for running the simulation & generating the movie. Could some others test?

pgleeson commented 4 years ago

Fixed by adding windows specific scripts