From reading around this seems to involve adding a network section to the docker-compose.yml file. However when I add this in “strange things happen” with the network continually being added and removed / service restarting.
To try to get to the bottom of this I created a very simple hello-world app that just runs a script that sleeps.
I’m not sure what to look for in the underlying host (if anything). You’re more than welcome to get into the board I have running this test here if that’s of any use @majorz
I did more digging and from what I see I assume ipv6 is simply not enabled in balenaEngine for containers. Thanks for offering access to the board - for now I believe this should be easily reproducible on our side. I will spawn a VM now with balenaOS and see whether that will be the case. I will let you know what I find.
Sorry for not getting back to you earlier, but we have identified the problem on our side. It is just that balenaEngine/Docker needs extra configuration for this - Enable IPv6 support | Docker Documentation. Next step for us is to make this manually work on a live device. Afterwards we will discuss internally how this could be possibly enabled more specifically.
From my debugging I saw that supervisor needs also an ipv4 address to be specified. Next to the ipv6 address can you please add an ipv4 address as well and let me know whether this time it works for you?
Thanks, please try it with the service as I am not completely sure routing will properly work although the addresses are available now inside the container.
The OTBR service runs up. It’s not quite working right but I’ll take a look at what’s going on tomorrow. It certainly isn’t restarting all the time like it was. Thanks again !!!
I am pretty sure that is all looking really good now thanks @majorz. I still have one problem which is to do with inter-container network setup but I will move that chat back over to the OTBR issue