February 22, 20197 yr Hi, may a question if its possible to add more then 1 extra parameter for the docker start. sample here on TVHeadend -e 'pipework_cmd=br0 -i eth4 @CONTAINER_NAME@ 192.168.1.211/[email protected]' -e 'pipework_cmd=br0 -i eth5 @CONTAINER_NAME@ 192.168.1.212/[email protected]' -e 'pipework_cmd=br0 -i eth6 @CONTAINER_NAME@ 192.168.1.213/[email protected]' as i need some extra ip´s for this docker i use pipework to achieve them, but as i can only use 1 Extra parameter ... after each reboot i need to exchange the Extra parameter and restart another 2 times ... so my question is, is this "-e 'pipwork..." also a variable wich could be otherwise assigned ? or is there a simple way to add those 3 extra ip´s to unraid static and use them then in host mode from tvheadend docker ? For any hints thanks ahead Edited February 22, 20197 yr by alturismo
February 22, 20197 yr In the extra parameters field you can include as many parameters as needed. Why using pipework? Since version 6.4 Unraid supports macvlan to make custom networks. This is all done thru the GUI.
February 22, 20197 yr Author 2 hours ago, bonienl said: In the extra parameters field you can include as many parameters as needed. Why using pipework? Since version 6.4 Unraid supports macvlan to make custom networks. This is all done thru the GUI. well ... when i add the extra parameter long like -e 'pipework_cmd=br0 -i eth4 @CONTAINER_NAME@ 192.168.1.211/[email protected]' 'pipework_cmd=br0 -i eth5 @CONTAINER_NAME@ 192.168.1.212/[email protected]' 'pipework_cmd=br0 -i eth6 @CONTAINER_NAME@ 192.168.1.213/24@192.168.1.1' it doesnt work, always only 1 gets assigned ... may a hint how the command would look like ? and macvlan, when u mean assigning individual ip´s, i want all dockers and host to communicate with each other, and when i read correctly thats not possible due security .... sample usecase, i use letsencrypt to reverse proxy emby, plex, tvheadend, unraid webui, etc etc ... and actually howto bridge all those networks together i couldt find a tutorial wich i can use would be sure the better solution, but i dont want to break my network cause im not sure howto ... thats why i use pipework, just working besides the 2 extra starts i need ...
February 22, 20197 yr You're not adding an extra parameter. You're adding an environment variable named "pipework_cmd" Since you can only set the variable once, you will have to run the container 3 times to do what you want.
February 26, 20197 yr Author may one more question as final understanding to me as all i need are 3 extra ip´s for my tvh docker to bind to so it can use all streams, and as TVH Docker uses host mode anyway ... when i add 3 virtual nic´s on startup from array like this #!/bin/bash ifconfig eth0:0 192.168.1.211 ifconfig eth0:1 192.168.1.212 ifconfig eth0:2 192.168.1.213 exit anything i could break like this ? ok, removed pipework and started script as described, all good, hope it doesnt collide with unraid with those virtual nics Edited February 27, 20197 yr by alturismo tested and working
Archived
This topic is now archived and is closed to further replies.