Skip to content

cleanup iptables after bridge network is removed #570

@mavenugo

Description

@mavenugo
$ sudo bundles/1.9.0-dev/binary/docker-1.9.0-dev network create aaa
67406def3bd95b8cd8409e69ca1c582e88b4ad96fe6aeb75607991ec35702341

$ sudo bundles/1.9.0-dev/binary/docker-1.9.0-dev network rm aaa

$ sudo iptables -L -v
Chain INPUT (policy ACCEPT 34 packets, 2183 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
    9   748 DOCKER     all  --  any    br-67406def3bd9  anywhere             anywhere
    8   664 ACCEPT     all  --  any    br-67406def3bd9  anywhere             anywhere             ctstate RELATED,ESTABLISHED
    3   228 ACCEPT     all  --  br-67406def3bd9 !br-67406def3bd9  anywhere             anywhere
    1    84 ACCEPT     all  --  br-67406def3bd9 br-67406def3bd9  anywhere             anywhere
   10   840 DOCKER     all  --  any    docker0  anywhere             anywhere
    8   672 ACCEPT     all  --  any    docker0  anywhere             anywhere             ctstate RELATED,ESTABLISHED
    0     0 ACCEPT     all  --  docker0 !docker0  anywhere             anywhere
    2   168 ACCEPT     all  --  docker0 docker0  anywhere             anywhere

Chain OUTPUT (policy ACCEPT 26 packets, 4396 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain DOCKER (3 references)
 pkts bytes target     prot opt in     out     source               destination

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions