Revert "docker: Enable IPv6 (with NAT)"

This reverts commit 3b25d7e0a9.

It somehow removes the default route.
master
Simon Bruder 2020-04-17 13:54:26 +00:00
parent a407217836
commit 739ed76620
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
3 changed files with 0 additions and 10 deletions

View File

@ -1,7 +1,5 @@
{
"log-driver": "journald",
"ipv6": true,
"fixed-cidr-v6": "fd00:d0ce:d0ce:d0ce::/64",
"dns": [
"46.182.19.48",
"74.82.42.42"

View File

@ -1,7 +1,4 @@
---
- name: Add IPv6 NAT iptables rules
shell: ip6tables -t nat -A POSTROUTING -s fd00:d0ce:d0ce:d0ce::/64 -j MASQUERADE && ip6tables-save > /etc/iptables/rules.v6
- name: add docker configuration
copy:
dest: /etc/docker/daemon.json

View File

@ -19,8 +19,3 @@
name: docker-ce
update_cache: yes
state: present
- name: install iptables-persistent
apt:
name: iptables-persistent
state: present