Server:
Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 2
Server Version: 19.03.1
.......................
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Solution:
vim /etc/sysctl.conf
Add the following three lines at the end of the file:
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-arptables = 1
Then, execute the command:
sysctl -p
or:
sysctl -p 2>/dev/null| grep bridge
Now, we then execute the command: docker info, you can not see the error.