I just started playing around with TrueNAS Scale today. I've been itching to move to containerized applications instead of managing them individually in jails within TrueNAS Core.
So far, I've managed to get a docker-compose.yml file built with all of my containers configured within. The containers run just fine aside from the fact that they don't seem to have outbound Internet access? Some of the apps need to be able to contact outside hosts and none seem to be able to by default?
The only way that I've found around this is to:
Is there a better way to go about doing this? I'm guessing that something may be a little more polished down the road once Apps are more fully supported in Scale. I'm just looking on how I might bridge the gap in the mean time.
So far, I've managed to get a docker-compose.yml file built with all of my containers configured within. The containers run just fine aside from the fact that they don't seem to have outbound Internet access? Some of the apps need to be able to contact outside hosts and none seem to be able to by default?
The only way that I've found around this is to:
- edit /etc/docker/daemon.json
- change "iptables": false to "iptables":true
- sudo systemctl restart docker
Is there a better way to go about doing this? I'm guessing that something may be a little more polished down the road once Apps are more fully supported in Scale. I'm just looking on how I might bridge the gap in the mean time.