Skip to content

Instantly share code, notes, and snippets.

@tueda
Last active May 16, 2024 02:55
Show Gist options
  • Save tueda/c487e95e98e73b0e1eb27872fc954216 to your computer and use it in GitHub Desktop.
Save tueda/c487e95e98e73b0e1eb27872fc954216 to your computer and use it in GitHub Desktop.
Dockerとイントラネットが衝突したときの対処法 #docker #config
ip addr
docker network inspect bridge

Workaround

/etc/docker/daemon.json

{
    "default-address-pools": [
        {
            "base": "172.20.0.0/16",
            "size": 24
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment