minus-square𝙚𝙧𝙧𝙚@feddit.wintoSelf Hosted - Self-hosting your services.@lemmy.ml•[Question] Best way to set up docker containers that depend on other containerlinkfedilinkarrow-up2·edit-21 year agoI feel like I’m missing something here. I’ve never needed to worry about docker container IPs. I wonder why you want them to have fixed IPs. I guess I want to understand the problem it would solve. If all you want to do is have the other containers use the pihole as DNS… they’d already be doing so if the server is using it as the DNS server. At worst you’d need to provide dns: - <server IP where pihole is> property to the services. linkfedilink
I feel like I’m missing something here. I’ve never needed to worry about docker container IPs.
I wonder why you want them to have fixed IPs. I guess I want to understand the problem it would solve.
If all you want to do is have the other containers use the pihole as DNS… they’d already be doing so if the server is using it as the DNS server.
At worst you’d need to provide
dns: - <server IP where pihole is>
property to the services.