here's a docker conainer, providing html interface for user to set host pub ip address. host is CentOS system, container mount with
-v /etc/sysconfig/network-scripts:/host_network-scripts
to change if-eth0 static ip.
but ifup or /etc/init.d/network cannot called in conainer, due to related scripts in host system.
is there a way to solve this?