Sample Header Ad - 728x90

Restart Docker Network after Resuming VM

4 votes
1 answer
9133 views
Whenever I suspend/resume my VMs the docker networking fails to function (e.g. timeouts between containers and the host, etc.). I'm using docker in the VM, the VM is not controlled by docker. This issue can be resolved by restarting docker (sudo systemctl restart docker) but I would prefer to just restart/reset the network component so I can add it to a resume script. Does docker offer an api to restart its network component?
Asked by laktak (6313 rep)
Aug 6, 2020, 07:58 AM
Last activity: Jul 20, 2025, 08:08 AM