Re: Running Pyro (nameserver for now) in a Docker container

Steven Pav <[email protected]> Wed, 16 Jul 2014 21:57:39 +0000 (UTC)
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
Steven Pav <shabbychef@...> writes:

 
> As a MWE, I have posted the Dockerfile and some shell code to run it here: 
> https://gist.github.com/shabbychef/72657f769eba7ddeed9d . When I run it, I 
> can confirm that the container with the nameserver is running, however, I 
> cannot communicate with it, rather I get the error:

I have the nameserver now running. I have updated the gist at 
https://gist.github.com/shabbychef/72657f769eba7ddeed9d to reflect the 
necessary changes. For posterity, the big change was the magic incantation:

ENTRYPOINT ["/usr/bin/python"]
CMD ["-Wignore","-m","Pyro4.naming","-n","0.0.0.0","-p","6432"]

to basically tell the nameserver to bind to the host 0.0.0.0.

I will put the Dockerfile in the docker hub for good measure. Thanks for the 
help, Giovanni and Irmen!


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds