Docker container can’t connect to the net, how to deal with it
Operation in host computer
sysctl net.ipv4.conf.all.forwarding
Make sure this forwarding function is on.
If it doesn’t open, it will run.sysctl net.ipv4.conf.all.forwarding=1
Open it.