aparcar / libremesh-docker

1 stars 2 forks source link

Enable connection to other nodes and web interface #1

Open patogit opened 6 years ago

patogit commented 6 years ago

Continuing the conversation from https://github.com/libremesh/lime-packages/issues/389.

How can the docker node connect with other nodes on the network? This is probably the same solution as: How can the docker node make its LuCI web interface accessible?

Maybe with a tap as done by @nicopace or with a bridge as done by @gmarcos87 ?

patogit commented 5 years ago

@aparcar any idea of moving forward on this?

patogit commented 5 years ago

@aparcar @nicopace @gmarcos @nicoechaniz any chance of this happening? I need a way to test my changes in a VM / Docker image in order to participate in development.

patogit commented 5 years ago

Relevant links:

aparcar commented 5 years ago

Hey @patogit maybe you can use the following:

Please let me know if this works, I just came up with the idea and have not tested anything

patogit commented 5 years ago

Maybe this will work for us (from this readme):

docker run -it --rm --net=host haakonn/mactelnet mactelnetd … Note that Docker runs containers on isolated internal networks by default. --net=host instructs Docker to provide mactelnet direct access to the host machine's network interfaces.