iptables
list verbose
shows packets and bytes of the target
$ sudo iptables -vL
Chain INPUT (policy ACCEPT 60 packets, 9477 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
85 17540 DOCKER-ISOLATION all -- any any anywhere anywhere
44 12366 ACCEPT all -- any docker0 anywhere anywhere ctstate RELATED,ESTABLISHED
0 0 DOCKER all -- any docker0 anywhere anywhere
41 5174 ACCEPT all -- docker0 !docker0 anywhere anywhere
0 0 ACCEPT all -- docker0 docker0 anywhere anywhere