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?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!