User Tools

Site Tools


docker-config

This is an old revision of the document!


Docker Configuration via /etc/docker/daemon.json

Prevent Creation of dynamic iptables rules, disable userland proxy

{
        "iptables": false,
        "ip-masq": false,
        "userland-proxy": false
}

Create iptables rules manually

iptables -A FORWARD -s $dockernetwork -m tcp -p tcp -m conntrack --ctstate NEW -j ACCEPT

Configure DNS server

{
        "dns": ["192.168.100.254"]
}
docker-config.1539875317.txt.gz · Last modified: 2018/10/18 17:08 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki