Skip to content

Instantly share code, notes, and snippets.

@gmcclins
Created June 22, 2018 02:51
Show Gist options
  • Save gmcclins/e1f7fa97ebf1b460bc993d0ef5f42b24 to your computer and use it in GitHub Desktop.
Save gmcclins/e1f7fa97ebf1b460bc993d0ef5f42b24 to your computer and use it in GitHub Desktop.
Docker breaks LXC networking. This will fix it.
# create /etc/docker/daemon.json if does not exist and paste below
{
"iptables": false
}
@gmcclins
Copy link
Author

If the above restores LXC networking, but breaks docker networking delete file and reload/restart docker and then just

iptables -F FORWARD
iptables -P FORWARD ACCEPT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment