simply-nzedb icon indicating copy to clipboard operation
simply-nzedb copied to clipboard

Predefine Network Adapter

Open LennyM8472 opened this issue 8 years ago • 8 comments

Hi,

the automatic setup results that no network adapter is added to each container on Qnap Container Station (Docker) - resulting in no connection to the internet. It would be great if the network adapter can somewhere be selected or predefined in the config of simply-nzedb beforehand.

Thanks Lenny

LennyM8472 avatar Jan 14 '17 19:01 LennyM8472

Not sure I understand the issue. Can you add some more technical details, command output, etc to show what is actually happening?

slydetector avatar Jan 15 '17 20:01 slydetector

I run docker via QNAP Container Station. Unfortunately QNAP Container Station has this bad habit that you can't change the network adapter of a container after the container has been setup. Thus with your script (automatic setup) not defining which network adapter shall be used, no adapter is being assigned to the containerss - resulting in no connection to the internet. So if in your script config the correct adapter could be pre-assigned would solve this issue.

LennyM8472 avatar Jan 28 '17 09:01 LennyM8472

maybe add the --net=bridge or --network="bridge" parameter to each container by default

LennyM8472 avatar Jan 29 '17 11:01 LennyM8472

@slydetector possible to do the changes?

LennyM8472 avatar Feb 17 '17 07:02 LennyM8472

I'm open to reviewing a pull request that has been verified to work for your setup.

slydetector avatar Feb 22 '17 03:02 slydetector

Great thanks. Let me know if/how I can help.

LennyM8472 avatar Feb 22 '17 05:02 LennyM8472

@LennyM8472 Might want to read over this 😄 https://help.github.com/articles/about-pull-requests/

slydetector avatar Feb 25 '17 00:02 slydetector

@slydetector I'm some sort of aware of github and pull requests. In the scripts of simply nzedb I'm not able to find the parts where the container parameters are being placed thus I can't test my thoughts on this issue.

LennyM8472 avatar Feb 25 '17 09:02 LennyM8472