Can I restart a container based on the status of another container?

  • I have an OpenVPN container running with Network Mode = Host. It's also configured to restart if the VPN connection is lost.


    I also have a number of other containers with Network Mode = Host, all of which are connecting over VPN.


    Is it possible to configure those other containers so that they restart if the VPN connection is lost or alternatively restart if the OpenVPN Container restarts?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!