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

Giovanni Porcari <[email protected]> Wed, 16 Jul 2014 23:09:40 +0200
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
> Il giorno 16/lug/2014, alle ore 21:43, Irmen de Jong <[email protected]> ha scritto:
> 
> (By the way, if it is running on localhost, and you are trying to connect to it from the
> same machine, Pyro really should be able to find it even without udp broadcasting
> working. It will try to connect to 'localhost' by itself. But again, check in the
> logfiles what it is doing and what problems it runs into)

In docker every container is a sort of VM so only the stuff inside the container
can see 'localhost'. When you have to connect from other containers you have 
to forward any used port. This is the reason why socket way was easier to implement.


Ciao

G
------------------------------------------------------------------------------
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