Rebooting network service requires docker service?

Hello,

I guess this is an expected behavior. On CentOS, after restarting network service (systemctl restart network), all old or new containers lose the network connectivity. A simple solution for this has been restarting docker service (systemctl restart docker). The only issue is that I have to redeploy all the containers again. Is there any easier solution to recover the network connectivity when the network service restarts? It seems that it is a common thing but I have not seen much resolution on online. Here is my environment

$ docker version
Client: Docker Engine - Community
 Version:           19.03.14
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        5eb3275d40
 Built:             Tue Dec  1 19:20:42 2020
 OS/Arch:           linux/amd64
 Experimental:      false
$ cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

Thanks for your help in advance.