Restart network container when container's configure is changed.

Fix #2099